Class: Google::Apis::ComputeAlpha::MachineTypesScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::MachineTypesScopedList
- 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
Defined Under Namespace
Classes: Warning
Instance Attribute Summary collapse
-
#machine_types ⇒ Array<Google::Apis::ComputeAlpha::MachineType>
[Output Only] A list of machine types contained in this scope.
-
#warning ⇒ Google::Apis::ComputeAlpha::MachineTypesScopedList::Warning
[Output Only] An informational warning that appears when the machine types list is empty.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MachineTypesScopedList
constructor
A new instance of MachineTypesScopedList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MachineTypesScopedList
Returns a new instance of MachineTypesScopedList.
25421 25422 25423 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 25421 def initialize(**args) update!(**args) end |
Instance Attribute Details
#machine_types ⇒ Array<Google::Apis::ComputeAlpha::MachineType>
[Output Only] A list of machine types contained in this scope.
Corresponds to the JSON property machineTypes
25413 25414 25415 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 25413 def machine_types @machine_types end |
#warning ⇒ Google::Apis::ComputeAlpha::MachineTypesScopedList::Warning
[Output Only] An informational warning that appears when the machine types
list is empty.
Corresponds to the JSON property warning
25419 25420 25421 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 25419 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
25426 25427 25428 25429 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 25426 def update!(**args) @machine_types = args[:machine_types] if args.key?(:machine_types) @warning = args[:warning] if args.key?(:warning) end |