Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::SecurityPolicyRuleRateLimitOptionsThreshold (v2.2.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::SecurityPolicyRuleRateLimitOptionsThreshold.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#count

def count() -> ::Integer
Returns
  • (::Integer) — Number of HTTP(S) requests for calculating the threshold.

#count=

def count=(value) -> ::Integer
Parameter
  • value (::Integer) — Number of HTTP(S) requests for calculating the threshold.
Returns
  • (::Integer) — Number of HTTP(S) requests for calculating the threshold.

#interval_sec

def interval_sec() -> ::Integer
Returns
  • (::Integer) — Interval over which the threshold is computed.

#interval_sec=

def interval_sec=(value) -> ::Integer
Parameter
  • value (::Integer) — Interval over which the threshold is computed.
Returns
  • (::Integer) — Interval over which the threshold is computed.