Reference documentation and code samples for the Compute V1 Client class SecurityPolicyRuleRateLimitOptionsThreshold.
Generated from protobuf message google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsThreshold
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ count |
int
Number of HTTP(S) requests for calculating the threshold. |
↳ interval_sec |
int
Interval over which the threshold is computed. |
getCount
Number of HTTP(S) requests for calculating the threshold.
Returns | |
---|---|
Type | Description |
int |
hasCount
clearCount
setCount
Number of HTTP(S) requests for calculating the threshold.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getIntervalSec
Interval over which the threshold is computed.
Returns | |
---|---|
Type | Description |
int |
hasIntervalSec
clearIntervalSec
setIntervalSec
Interval over which the threshold is computed.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |