Compute V1 Client - Class SecurityPolicyRuleRateLimitOptionsThreshold (1.5.0)

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
NameDescription
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.

Generated from protobuf field optional int32 count = 94851343;

Returns
TypeDescription
int

hasCount

clearCount

setCount

Number of HTTP(S) requests for calculating the threshold.

Generated from protobuf field optional int32 count = 94851343;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getIntervalSec

Interval over which the threshold is computed.

Generated from protobuf field optional int32 interval_sec = 41084375;

Returns
TypeDescription
int

hasIntervalSec

clearIntervalSec

setIntervalSec

Interval over which the threshold is computed.

Generated from protobuf field optional int32 interval_sec = 41084375;

Parameter
NameDescription
var int
Returns
TypeDescription
$this