Class: Google::Apis::ComputeAlpha::CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelection
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelection
- 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
Machine specification.
Instance Attribute Summary collapse
-
#machine_types ⇒ Array<String>
Full machine-type names, e.g.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelection
constructor
A new instance of CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelection.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelection
Returns a new instance of CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelection.
7296 7297 7298 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 7296 def initialize(**args) update!(**args) end |
Instance Attribute Details
#machine_types ⇒ Array<String>
Full machine-type names, e.g. "n1-standard-16".
Corresponds to the JSON property machineTypes
7294 7295 7296 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 7294 def machine_types @machine_types end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7301 7302 7303 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 7301 def update!(**args) @machine_types = args[:machine_types] if args.key?(:machine_types) end |