Class: Google::Apis::ComputeBeta::MachineTypesScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::MachineTypesScopedList
- Defined in:
- generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/representations.rb
Defined Under Namespace
Classes: Warning
Instance Attribute Summary collapse
-
#machine_types ⇒ Array<Google::Apis::ComputeBeta::MachineType>
[Output Only] A list of machine types contained in this scope.
-
#warning ⇒ Google::Apis::ComputeBeta::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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ MachineTypesScopedList
Returns a new instance of MachineTypesScopedList
13568 13569 13570 |
# File 'generated/google/apis/compute_beta/classes.rb', line 13568 def initialize(**args) update!(**args) end |
Instance Attribute Details
#machine_types ⇒ Array<Google::Apis::ComputeBeta::MachineType>
[Output Only] A list of machine types contained in this scope.
Corresponds to the JSON property machineTypes
13560 13561 13562 |
# File 'generated/google/apis/compute_beta/classes.rb', line 13560 def machine_types @machine_types end |
#warning ⇒ Google::Apis::ComputeBeta::MachineTypesScopedList::Warning
[Output Only] An informational warning that appears when the machine types
list is empty.
Corresponds to the JSON property warning
13566 13567 13568 |
# File 'generated/google/apis/compute_beta/classes.rb', line 13566 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13573 13574 13575 13576 |
# File 'generated/google/apis/compute_beta/classes.rb', line 13573 def update!(**args) @machine_types = args[:machine_types] if args.key?(:machine_types) @warning = args[:warning] if args.key?(:warning) end |