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.



2769
2770
2771
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 2769

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)


2766
2767
2768
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 2766

def should_throttle
  @should_throttle
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2774
2775
2776
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 2774

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