Class: Google::Apis::ComputeAlpha::NodeGroupAutoscalingPolicy
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::NodeGroupAutoscalingPolicy
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#max_size ⇒ Fixnum
Corresponds to the JSON property
maxSize
. -
#min_size ⇒ Fixnum
Corresponds to the JSON property
minSize
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NodeGroupAutoscalingPolicy
constructor
A new instance of NodeGroupAutoscalingPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ NodeGroupAutoscalingPolicy
Returns a new instance of NodeGroupAutoscalingPolicy
17057 17058 17059 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 17057 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_size ⇒ Fixnum
Corresponds to the JSON property maxSize
17050 17051 17052 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 17050 def max_size @max_size end |
#min_size ⇒ Fixnum
Corresponds to the JSON property minSize
17055 17056 17057 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 17055 def min_size @min_size end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17062 17063 17064 17065 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 17062 def update!(**args) @max_size = args[:max_size] if args.key?(:max_size) @min_size = args[:min_size] if args.key?(:min_size) end |