Reference documentation and code samples for the Google Cloud Notebooks V1 Client class SwitchRuntimeRequest.
Request for switching a Managed Notebook Runtime.
Generated from protobuf message google.cloud.notebooks.v1.SwitchRuntimeRequest
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
machine type. |
↳ accelerator_config |
RuntimeAcceleratorConfig
accelerator config. |
↳ request_id |
string
Idempotent request UUID. |
getName
Required. Format:
projects/{project_id}/locations/{location}/runtimes/{runtime_id}
Returns | |
---|---|
Type | Description |
string |
setName
Required. Format:
projects/{project_id}/locations/{location}/runtimes/{runtime_id}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getMachineType
machine type.
Returns | |
---|---|
Type | Description |
string |
setMachineType
machine type.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getAcceleratorConfig
accelerator config.
Returns | |
---|---|
Type | Description |
RuntimeAcceleratorConfig|null |
hasAcceleratorConfig
clearAcceleratorConfig
setAcceleratorConfig
accelerator config.
Parameter | |
---|---|
Name | Description |
var |
RuntimeAcceleratorConfig
|
Returns | |
---|---|
Type | Description |
$this |
getRequestId
Idempotent request UUID.
Returns | |
---|---|
Type | Description |
string |
setRequestId
Idempotent request UUID.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameter | |
---|---|
Name | Description |
name |
string
Required. Format:
|
Returns | |
---|---|
Type | Description |
SwitchRuntimeRequest |