Class: Google::Apis::BeyondcorpV1alpha::ShouldThrottleResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/beyondcorp_v1alpha/classes.rb,
lib/google/apis/beyondcorp_v1alpha/representations.rb,
lib/google/apis/beyondcorp_v1alpha/representations.rb

Overview

Response message for calling ShouldThrottle

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ShouldThrottleResponse

Returns a new instance of ShouldThrottleResponse.



4176
4177
4178
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 4176

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#should_throttleBoolean Also known as: should_throttle?

Whether the port should be throttled Corresponds to the JSON property shouldThrottle

Returns:

  • (Boolean)


4173
4174
4175
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 4173

def should_throttle
  @should_throttle
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4181
4182
4183
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 4181

def update!(**args)
  @should_throttle = args[:should_throttle] if args.key?(:should_throttle)
end