Class: Google::Apis::ComputeV1::MachineTypesScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::MachineTypesScopedList
- Defined in:
- generated/google/apis/compute_v1/classes.rb,
generated/google/apis/compute_v1/representations.rb,
generated/google/apis/compute_v1/representations.rb
Defined Under Namespace
Classes: Warning
Instance Attribute Summary collapse
-
#machine_types ⇒ Array<Google::Apis::ComputeV1::MachineType>
[Output Only] A list of machine types contained in this scope.
-
#warning ⇒ Google::Apis::ComputeV1::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
11878 11879 11880 |
# File 'generated/google/apis/compute_v1/classes.rb', line 11878 def initialize(**args) update!(**args) end |
Instance Attribute Details
#machine_types ⇒ Array<Google::Apis::ComputeV1::MachineType>
[Output Only] A list of machine types contained in this scope.
Corresponds to the JSON property machineTypes
11870 11871 11872 |
# File 'generated/google/apis/compute_v1/classes.rb', line 11870 def machine_types @machine_types end |
#warning ⇒ Google::Apis::ComputeV1::MachineTypesScopedList::Warning
[Output Only] An informational warning that appears when the machine types
list is empty.
Corresponds to the JSON property warning
11876 11877 11878 |
# File 'generated/google/apis/compute_v1/classes.rb', line 11876 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11883 11884 11885 11886 |
# File 'generated/google/apis/compute_v1/classes.rb', line 11883 def update!(**args) @machine_types = args[:machine_types] if args.key?(:machine_types) @warning = args[:warning] if args.key?(:warning) end |