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
. -
#mode ⇒ String
Corresponds to the JSON property
mode
.
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
20172 20173 20174 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 20172 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_size ⇒ Fixnum
Corresponds to the JSON property maxSize
20160 20161 20162 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 20160 def max_size @max_size end |
#min_size ⇒ Fixnum
Corresponds to the JSON property minSize
20165 20166 20167 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 20165 def min_size @min_size end |
#mode ⇒ String
Corresponds to the JSON property mode
20170 20171 20172 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 20170 def mode @mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20177 20178 20179 20180 20181 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 20177 def update!(**args) @max_size = args[:max_size] if args.key?(:max_size) @min_size = args[:min_size] if args.key?(:min_size) @mode = args[:mode] if args.key?(:mode) end |