Compute V1 Client - Class InstancesSetMachineTypeRequest (1.6.1)

Reference documentation and code samples for the Compute V1 Client class InstancesSetMachineTypeRequest.

Generated from protobuf message google.cloud.compute.v1.InstancesSetMachineTypeRequest

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ machine_type
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

getMachineType

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
Type
Description
string

hasMachineType

clearMachineType

setMachineType

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

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: