Class: Google::Apis::BeyondcorpV1alpha::ShouldThrottleResponse
- Inherits:
-
Object
- Object
- Google::Apis::BeyondcorpV1alpha::ShouldThrottleResponse
- 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
-
#should_throttle ⇒ Boolean
(also: #should_throttle?)
Whether the port should be throttled Corresponds to the JSON property
shouldThrottle.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ShouldThrottleResponse
constructor
A new instance of ShouldThrottleResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_throttle ⇒ Boolean Also known as: should_throttle?
Whether the port should be throttled
Corresponds to the JSON property shouldThrottle
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 |