class Google::Apis::ComputeV1::SecurityPolicyRuleRateLimitOptionsThreshold

Attributes

count[RW]

Number of HTTP(S) requests for calculating the threshold. Corresponds to the JSON property `count` @return [Fixnum]

interval_sec[RW]

Interval over which the threshold is computed. Corresponds to the JSON property `intervalSec` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 32332
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 32337
def update!(**args)
  @count = args[:count] if args.key?(:count)
  @interval_sec = args[:interval_sec] if args.key?(:interval_sec)
end