Reference documentation and code samples for the Google Cloud Notebooks V1 Client class SetInstanceMachineTypeRequest.
Request for setting instance machine type.
Generated from protobuf message google.cloud.notebooks.v1.SetInstanceMachineTypeRequest
Namespace
Google \ Cloud \ Notebooks \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. Format: |
↳ machine_type |
string
Required. The Compute Engine machine type. |
getName
Required. Format:
projects/{project_id}/locations/{location}/instances/{instance_id}
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. Format:
projects/{project_id}/locations/{location}/instances/{instance_id}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMachineType
Required. The Compute Engine machine type.
| Returns | |
|---|---|
| Type | Description |
string |
|
setMachineType
Required. The Compute Engine machine type.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|