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] 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.
5445 5446 5447 |
# File 'generated/google/apis/compute_v1/classes.rb', line 5445 def initialize(**args) update!(**args) end |
Instance Attribute Details
#machine_types ⇒ Array<Google::Apis::ComputeV1::MachineType>
[Output Only] List of machine types contained in this scope.
Corresponds to the JSON property machineTypes
5437 5438 5439 |
# File 'generated/google/apis/compute_v1/classes.rb', line 5437 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
5443 5444 5445 |
# File 'generated/google/apis/compute_v1/classes.rb', line 5443 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5450 5451 5452 5453 |
# File 'generated/google/apis/compute_v1/classes.rb', line 5450 def update!(**args) @machine_types = args[:machine_types] if args.key?(:machine_types) @warning = args[:warning] if args.key?(:warning) end |