Reference documentation and code samples for the Google Cloud Storage Control V2 Client class CrossRegionEgressSpike.
Represents a finding about a spike in cross-region egress from Cloud Storage.
This corresponds to the CROSS_REGION_EGRESS_SPIKE finding type.
Generated from protobuf message google.storage.control.v2.IntelligenceFinding.CrossRegionEgressSpike
Namespace
Google \ Cloud \ Storage \ Control \ V2 \ IntelligenceFindingMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ total_egress_bytes |
int|string
Output only. The total cross-region egress volume in bytes across the project. |
↳ percentage_increase |
float
Output only. The percentage increase in cross-region egress across the project. |
↳ top_buckets |
array<CrossRegionEgressSpike\BucketContribution>
Output only. A list of top buckets driving the increase in cross-region egress. |
getTotalEgressBytes
Output only. The total cross-region egress volume in bytes across the project.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setTotalEgressBytes
Output only. The total cross-region egress volume in bytes across the project.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPercentageIncrease
Output only. The percentage increase in cross-region egress across the project.
| Returns | |
|---|---|
| Type | Description |
float |
|
setPercentageIncrease
Output only. The percentage increase in cross-region egress across the project.
| Parameter | |
|---|---|
| Name | Description |
var |
float
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTopBuckets
Output only. A list of top buckets driving the increase in cross-region egress.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<CrossRegionEgressSpike\BucketContribution> |
|
setTopBuckets
Output only. A list of top buckets driving the increase in cross-region egress.
| Parameter | |
|---|---|
| Name | Description |
var |
array<CrossRegionEgressSpike\BucketContribution>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|