Reference documentation and code samples for the Google Cloud Storage Control V2 Client class BucketContribution.
Represents the throttled requests details for a bucket.
Generated from protobuf message google.storage.control.v2.IntelligenceFinding.ThrottledRequestSpike.BucketContribution
Namespace
Google \ Cloud \ Storage \ Control \ V2 \ IntelligenceFinding \ ThrottledRequestSpikeMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ bucket |
string
Output only. The name of the bucket. |
↳ throttled_requests |
int|string
Output only. The count of throttled requests for the bucket. |
↳ percentage_increase |
float
Output only. The percentage increase in throttled requests for the bucket. |
↳ contribution |
BucketContribution\Contribution
Output only. The details about the contribution of the bucket. |
↳ error |
Google\Rpc\Status
Output only. The error related to accessing the details about the contribution of the bucket. |
getBucket
Output only. The name of the bucket.
| Returns | |
|---|---|
| Type | Description |
string |
|
setBucket
Output only. The name of the bucket.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getThrottledRequests
Output only. The count of throttled requests for the bucket.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setThrottledRequests
Output only. The count of throttled requests for the bucket.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPercentageIncrease
Output only. The percentage increase in throttled requests for the bucket.
| Returns | |
|---|---|
| Type | Description |
float |
|
setPercentageIncrease
Output only. The percentage increase in throttled requests for the bucket.
| Parameter | |
|---|---|
| Name | Description |
var |
float
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getContribution
Output only. The details about the contribution of the bucket.
| Returns | |
|---|---|
| Type | Description |
BucketContribution\Contribution|null |
|
hasContribution
setContribution
Output only. The details about the contribution of the bucket.
| Parameter | |
|---|---|
| Name | Description |
var |
BucketContribution\Contribution
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getError
Output only. The error related to accessing the details about the contribution of the bucket.
| Returns | |
|---|---|
| Type | Description |
Google\Rpc\Status|null |
|
hasError
setError
Output only. The error related to accessing the details about the contribution of the bucket.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Rpc\Status
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDetails
| Returns | |
|---|---|
| Type | Description |
string |
|