Class: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceFlexibilityPolicy
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceFlexibilityPolicy
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#instance_selection_lists ⇒ Hash<String,Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection>
Named instance selections configuring properties that the group will use when creating new VMs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstanceGroupManagerInstanceFlexibilityPolicy
constructor
A new instance of InstanceGroupManagerInstanceFlexibilityPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InstanceGroupManagerInstanceFlexibilityPolicy
Returns a new instance of InstanceGroupManagerInstanceFlexibilityPolicy.
17279 17280 17281 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 17279 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance_selection_lists ⇒ Hash<String,Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection>
Named instance selections configuring properties that the group will use when
creating new VMs.
Corresponds to the JSON property instanceSelectionLists
17277 17278 17279 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 17277 def instance_selection_lists @instance_selection_lists end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17284 17285 17286 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 17284 def update!(**args) @instance_selection_lists = args[:instance_selection_lists] if args.key?(:instance_selection_lists) end |