Class: Google::Apis::BeyondcorpV1::ShouldThrottleResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_throttleBoolean Also known as: should_throttle?

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

Returns:

  • (Boolean)


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