Class: Google::Apis::ComputeAlpha::CapacityAdviceRequestInstanceFlexibilityPolicy
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::CapacityAdviceRequestInstanceFlexibilityPolicy
- 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
Overview
Specification of alternative, flexible instance subsets.
Instance Attribute Summary collapse
-
#instance_selections ⇒ Hash<String,Google::Apis::ComputeAlpha::CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelection>
Named instance selections configure properties.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CapacityAdviceRequestInstanceFlexibilityPolicy
constructor
A new instance of CapacityAdviceRequestInstanceFlexibilityPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CapacityAdviceRequestInstanceFlexibilityPolicy
Returns a new instance of CapacityAdviceRequestInstanceFlexibilityPolicy.
8385 8386 8387 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 8385 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance_selections ⇒ Hash<String,Google::Apis::ComputeAlpha::CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelection>
Named instance selections configure properties.
The key is an arbitrary, unique RFC1035 string that identifies the
instance selection.
Corresponds to the JSON property instanceSelections
8383 8384 8385 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 8383 def instance_selections @instance_selections end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8390 8391 8392 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 8390 def update!(**args) @instance_selections = args[:instance_selections] if args.key?(:instance_selections) end |