class Google::Apis::ComputeBeta::InstancesSetMachineTypeRequest

Attributes

machine_type[RW]

Full or partial URL of the machine type resource. See Machine Types for a full list of machine types. For example: zones/us-central1-f/machineTypes/n1- standard-1 Corresponds to the JSON property `machineType` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_beta/classes.rb, line 15982
def update!(**args)
  @machine_type = args[:machine_type] if args.key?(:machine_type)
end