Reference documentation and code samples for the Cloud Bigtable V2 Client class RateLimitInfo.
Rate limiting information for batched mutations.
Generated from protobuf message google.bigtable.v2.SessionMutateRowsResponse.RateLimitInfo
Namespace
Google \ Cloud \ Bigtable \ V2 \ SessionMutateRowsResponseMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ period |
Google\Protobuf\Duration
Time that must pass before the client should adjust its rate again. |
↳ factor |
float
Multiplier that the client should apply to its current request rate. |
getPeriod
Time that must pass before the client should adjust its rate again.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Duration|null |
|
hasPeriod
clearPeriod
setPeriod
Time that must pass before the client should adjust its rate again.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Duration
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFactor
Multiplier that the client should apply to its current request rate.
| Returns | |
|---|---|
| Type | Description |
float |
|
setFactor
Multiplier that the client should apply to its current request rate.
| Parameter | |
|---|---|
| Name | Description |
var |
float
|
| Returns | |
|---|---|
| Type | Description |
$this |
|