Reference documentation and code samples for the Google Cloud Storage Control V2 Client class ThrottledRequestSpike.
Represents a finding about a spike in throttled requests (429 errors) within a project.
This corresponds to the THROTTLED_REQUEST_SPIKE finding type.
Generated from protobuf message google.storage.control.v2.IntelligenceFinding.ThrottledRequestSpike
Namespace
Google \ Cloud \ Storage \ Control \ V2 \ IntelligenceFindingMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ throttled_requests |
int|string
Output only. The count of throttled requests across the project. |
↳ percentage_increase |
float
Output only. The percentage increase in throttled requests across the project. |
↳ top_buckets |
array<ThrottledRequestSpike\BucketContribution>
Output only. A list of top buckets driving the increase in throttled requests. |
getThrottledRequests
Output only. The count of throttled requests across the project.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setThrottledRequests
Output only. The count of throttled requests across the project.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPercentageIncrease
Output only. The percentage increase in throttled requests across the project.
| Returns | |
|---|---|
| Type | Description |
float |
|
setPercentageIncrease
Output only. The percentage increase in throttled requests across the project.
| Parameter | |
|---|---|
| Name | Description |
var |
float
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTopBuckets
Output only. A list of top buckets driving the increase in throttled requests.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<ThrottledRequestSpike\BucketContribution> |
|
setTopBuckets
Output only. A list of top buckets driving the increase in throttled requests.
| Parameter | |
|---|---|
| Name | Description |
var |
array<ThrottledRequestSpike\BucketContribution>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|