Class: Google::Apis::ComputeBeta::CapacityAdviceRequestInstanceFlexibilityPolicy
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::CapacityAdviceRequestInstanceFlexibilityPolicy
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb
Overview
Specification of alternative, flexible instance configurations.
Instance Attribute Summary collapse
-
#instance_selections ⇒ Hash<String,Google::Apis::ComputeBeta::CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelection>
Named instance selections to 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.
8038 8039 8040 |
# File 'lib/google/apis/compute_beta/classes.rb', line 8038 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance_selections ⇒ Hash<String,Google::Apis::ComputeBeta::CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelection>
Named instance selections to configure properties.
The key is an arbitrary, unique RFC1035 string that identifies the
instance selection.
Corresponds to the JSON property instanceSelections
8036 8037 8038 |
# File 'lib/google/apis/compute_beta/classes.rb', line 8036 def instance_selections @instance_selections end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8043 8044 8045 |
# File 'lib/google/apis/compute_beta/classes.rb', line 8043 def update!(**args) @instance_selections = args[:instance_selections] if args.key?(:instance_selections) end |