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

1.9.0 (latest) 1.8.0 1.7.0 1.6.3 1.5.0 1.4.1 1.3.0 1.1.0 1.0.3 0.2.1 0.1.1 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<https://docs.cloud.google.com/php/docs/reference/cloud-storage-control/latest/V2.IntelligenceFinding.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** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-storage-control/latest/V2.IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution>` |   |

### setTopBuckets

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-storage-control/latest/V2.IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |