Reference documentation and code samples for the Google Cloud Notebooks V1 Client class UpdateRuntimeRequest.
Request for updating a Managed Notebook configuration.
Generated from protobuf message google.cloud.notebooks.v1.UpdateRuntimeRequest
Namespace
Google \ Cloud \ Notebooks \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ runtime
↳ update_mask
Google\Protobuf\FieldMask
Required. Specifies the path, relative to Runtime
, of the field to update. For example, to change the software configuration kernels, the update_mask
parameter would be specified as software_config.kernels
, and the PATCH
request body would specify the new value, as follows: { "software_config":{ "kernels": [{ 'repository': 'gcr.io/deeplearning-platform-release/pytorch-gpu', 'tag': 'latest' }], } } Currently, only the following fields can be updated: - software_config.kernels
- software_config.post_startup_script
- software_config.custom_gpu_driver_path
- software_config.idle_shutdown
- software_config.idle_shutdown_timeout
- software_config.disable_terminal
↳ request_id
string
Idempotent request UUID.
getRuntime
Required. The Runtime to be updated.
hasRuntime
clearRuntime
setRuntime
Required. The Runtime to be updated.
$this
getUpdateMask
Required. Specifies the path, relative to Runtime
, of
the field to update. For example, to change the software configuration
kernels, the update_mask
parameter would be
specified as software_config.kernels
,
and the PATCH
request body would specify the new value, as follows:
{
"software_config":{
"kernels": [{
'repository':
'gcr.io/deeplearning-platform-release/pytorch-gpu', 'tag':
'latest' }],
}
}
Currently, only the following fields can be updated:
-
software_config.kernels
-
software_config.post_startup_script
-
software_config.custom_gpu_driver_path
-
software_config.idle_shutdown
-
software_config.idle_shutdown_timeout
-
software_config.disable_terminal
hasUpdateMask
clearUpdateMask
setUpdateMask
Required. Specifies the path, relative to Runtime
, of
the field to update. For example, to change the software configuration
kernels, the update_mask
parameter would be
specified as software_config.kernels
,
and the PATCH
request body would specify the new value, as follows:
{
"software_config":{
"kernels": [{
'repository':
'gcr.io/deeplearning-platform-release/pytorch-gpu', 'tag':
'latest' }],
}
}
Currently, only the following fields can be updated:
-
software_config.kernels
-
software_config.post_startup_script
-
software_config.custom_gpu_driver_path
-
software_config.idle_shutdown
-
software_config.idle_shutdown_timeout
-
software_config.disable_terminal
$this
getRequestId
Idempotent request UUID.
string
setRequestId
Idempotent request UUID.
var
string
$this
static::build
runtime
updateMask
Google\Protobuf\FieldMask
Required. Specifies the path, relative to Runtime
, of
the field to update. For example, to change the software configuration
kernels, the update_mask
parameter would be
specified as software_config.kernels
,
and the PATCH
request body would specify the new value, as follows:
{ "software_config":{ "kernels": [{ 'repository': 'gcr.io/deeplearning-platform-release/pytorch-gpu', 'tag': 'latest' }], } }
Currently, only the following fields can be updated:
-
software_config.kernels
-
software_config.post_startup_script
-
software_config.custom_gpu_driver_path
-
software_config.idle_shutdown
-
software_config.idle_shutdown_timeout
-
software_config.disable_terminal