Google Cloud Notebooks V1beta1 Client - Class SetInstanceMachineTypeRequest (0.6.2)

Reference documentation and code samples for the Google Cloud Notebooks V1beta1 Client class SetInstanceMachineTypeRequest.

Request for setting instance machine type.

Generated from protobuf message google.cloud.notebooks.v1beta1.SetInstanceMachineTypeRequest

Namespace

Google \ Cloud \ Notebooks \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

↳ machine_type string

Required. The Compute Engine machine type.

getName

Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

Returns
TypeDescription
string

setName

Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMachineType

Returns
TypeDescription
string

setMachineType

Parameter
NameDescription
var string
Returns
TypeDescription
$this