Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::InstancesSetMachineTypeRequest (v1.6.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::InstancesSetMachineTypeRequest.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#machine_type

def machine_type() -> ::String
Returns
  • (::String) — 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

#machine_type=

def machine_type=(value) -> ::String
Parameter
  • value (::String) — 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
Returns
  • (::String) — 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