Class: Google::Apis::BeyondcorpV1::ShouldThrottleResponse
- Inherits:
-
Object
- Object
- Google::Apis::BeyondcorpV1::ShouldThrottleResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/beyondcorp_v1/classes.rb,
lib/google/apis/beyondcorp_v1/representations.rb,
lib/google/apis/beyondcorp_v1/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.
2768 2769 2770 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 2768 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
2765 2766 2767 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 2765 def should_throttle @should_throttle end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2773 2774 2775 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 2773 def update!(**args) @should_throttle = args[:should_throttle] if args.key?(:should_throttle) end |