class Google::Apis::ComputeV1::MachineTypesScopedList

Attributes

machine_types[RW]
Output Only

List of machine types contained in this scope.

Corresponds to the JSON property `machineTypes` @return [Array<Google::Apis::ComputeV1::MachineType>]

warning[RW]
Output Only

An informational warning that appears when the machine types

list is empty. Corresponds to the JSON property `warning` @return [Google::Apis::ComputeV1::MachineTypesScopedList::Warning]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/compute_v1/classes.rb, line 4843
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/compute_v1/classes.rb, line 4848
def update!(**args)
  @machine_types = args[:machine_types] if args.key?(:machine_types)
  @warning = args[:warning] if args.key?(:warning)
end