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
Generated from protobuf field optional string machine_type = 227711026;
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
Generated from protobuf field optional string machine_type = 227711026;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |