Compute V1 Client - Class SecurityPolicyRuleRateLimitOptionsThreshold (1.25.0)

Reference documentation and code samples for the Compute V1 Client class SecurityPolicyRuleRateLimitOptionsThreshold.

Generated from protobuf message google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsThreshold

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ countint

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

↳ interval_secint

Interval over which the threshold is computed.

getCount

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

Returns
TypeDescription
int

hasCount

clearCount

setCount

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

Parameter
NameDescription
varint
Returns
TypeDescription
$this

getIntervalSec

Interval over which the threshold is computed.

Returns
TypeDescription
int

hasIntervalSec

clearIntervalSec

setIntervalSec

Interval over which the threshold is computed.

Parameter
NameDescription
varint
Returns
TypeDescription
$this