Reference documentation and code samples for the AI Platform Notebooks V1 API class Google::Cloud::Notebooks::V1::UpdateRuntimeRequest.
Request for updating a Managed Notebook configuration.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#request_id
def request_id() -> ::String
- (::String) — Idempotent request UUID.
#request_id=
def request_id=(value) -> ::String
- value (::String) — Idempotent request UUID.
- (::String) — Idempotent request UUID.
#runtime
def runtime() -> ::Google::Cloud::Notebooks::V1::Runtime
- (::Google::Cloud::Notebooks::V1::Runtime) — Required. The Runtime to be updated.
#runtime=
def runtime=(value) -> ::Google::Cloud::Notebooks::V1::Runtime
- value (::Google::Cloud::Notebooks::V1::Runtime) — Required. The Runtime to be updated.
- (::Google::Cloud::Notebooks::V1::Runtime) — Required. The Runtime to be updated.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
-
(::Google::Protobuf::FieldMask) —
Required. Specifies the path, relative to
Runtime
, of the field to update. For example, to change the software configuration kernels, theupdate_mask
parameter would be specified assoftware_config.kernels
, and thePATCH
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
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
-
value (::Google::Protobuf::FieldMask) —
Required. Specifies the path, relative to
Runtime
, of the field to update. For example, to change the software configuration kernels, theupdate_mask
parameter would be specified assoftware_config.kernels
, and thePATCH
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
-
(::Google::Protobuf::FieldMask) —
Required. Specifies the path, relative to
Runtime
, of the field to update. For example, to change the software configuration kernels, theupdate_mask
parameter would be specified assoftware_config.kernels
, and thePATCH
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