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_selections ⇒ 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.
17409 17410 17411 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 17409 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
17401 17402 17403 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 17401 def instance_selection_lists @instance_selection_lists end |
#instance_selections ⇒ 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 instanceSelections
17407 17408 17409 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 17407 def instance_selections @instance_selections end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17414 17415 17416 17417 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 17414 def update!(**args) @instance_selection_lists = args[:instance_selection_lists] if args.key?(:instance_selection_lists) @instance_selections = args[:instance_selections] if args.key?(:instance_selections) end |