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

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

Represents a finding about a storage growth above the expected trend.

This corresponds to the STORAGE_GROWTH_ABOVE_TREND finding type.

Generated from protobuf message google.storage.control.v2.IntelligenceFinding.StorageGrowthAboveTrend

Namespace

Google \ Cloud \ Storage \ Control \ V2 \ IntelligenceFinding

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ total_storage_growth_bytes int|string

Output only. The total storage growth in bytes.

↳ percentage_increase float

Output only. The percentage increase in storage growth.

↳ top_buckets array<StorageGrowthAboveTrend\BucketContribution>

Output only. A list of top buckets driving the increase in storage growth.

getTotalStorageGrowthBytes

Output only. The total storage growth in bytes.

Returns
Type Description
int|string

setTotalStorageGrowthBytes

Output only. The total storage growth in bytes.

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

getPercentageIncrease

Output only. The percentage increase in storage growth.

Returns
Type Description
float

setPercentageIncrease

Output only. The percentage increase in storage growth.

Parameter
Name Description
var float
Returns
Type Description
$this

getTopBuckets

Output only. A list of top buckets driving the increase in storage growth.

Returns
Type Description
Google\Protobuf\RepeatedField<StorageGrowthAboveTrend\BucketContribution>

setTopBuckets

Output only. A list of top buckets driving the increase in storage growth.

Parameter
Name Description
var array<StorageGrowthAboveTrend\BucketContribution>
Returns
Type Description
$this