Google Cloud Storage Control V2 Client - Class PrefixContribution (1.9.0)

Reference documentation and code samples for the Google Cloud Storage Control V2 Client class PrefixContribution.

Represents the cross-region egress spike details for an object prefix.

Generated from protobuf message google.storage.control.v2.IntelligenceFinding.CrossRegionEgressSpike.BucketContribution.Contribution.PrefixContribution

Namespace

Google \ Cloud \ Storage \ Control \ V2 \ IntelligenceFinding \ CrossRegionEgressSpike \ BucketContribution \ Contribution

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ prefix string

Output only. The object prefix. Format: a/b/c, 'a/b/d', etc.

↳ total_egress_bytes int|string

Output only. The total cross-region egress volume in bytes from the object prefix.

↳ percentage_increase float

Output only. The percentage increase in cross-region egress for the object prefix.

getPrefix

Output only. The object prefix.

Format: a/b/c, 'a/b/d', etc.

Returns
Type Description
string

setPrefix

Output only. The object prefix.

Format: a/b/c, 'a/b/d', etc.

Parameter
Name Description
var string
Returns
Type Description
$this

getTotalEgressBytes

Output only. The total cross-region egress volume in bytes from the object prefix.

Returns
Type Description
int|string

setTotalEgressBytes

Output only. The total cross-region egress volume in bytes from the object prefix.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getPercentageIncrease

Output only. The percentage increase in cross-region egress for the object prefix.

Returns
Type Description
float

setPercentageIncrease

Output only. The percentage increase in cross-region egress for the object prefix.

Parameter
Name Description
var float
Returns
Type Description
$this