class Google::Apis::ComputeV1::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_v1/classes.rb, line 15917 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_v1/classes.rb, line 15922 def update!(**args) @machine_type = args[:machine_type] if args.key?(:machine_type) end