Class: Google::Cloud::Notebooks::V1::UpdateRuntimeRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Notebooks::V1::UpdateRuntimeRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/notebooks/v1/managed_service.rb
Overview
Request for updating a Managed Notebook configuration.
Instance Attribute Summary collapse
-
#request_id ⇒ ::String
Idempotent request UUID.
-
#runtime ⇒ ::Google::Cloud::Notebooks::V1::Runtime
Required.
-
#update_mask ⇒ ::Google::Protobuf::FieldMask
Required.
Instance Attribute Details
#request_id ⇒ ::String
Returns Idempotent request UUID.
223 224 225 226 |
# File 'proto_docs/google/cloud/notebooks/v1/managed_service.rb', line 223 class UpdateRuntimeRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#runtime ⇒ ::Google::Cloud::Notebooks::V1::Runtime
Returns Required. The Runtime to be updated.
223 224 225 226 |
# File 'proto_docs/google/cloud/notebooks/v1/managed_service.rb', line 223 class UpdateRuntimeRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#update_mask ⇒ ::Google::Protobuf::FieldMask
Returns 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
.
223 224 225 226 |
# File 'proto_docs/google/cloud/notebooks/v1/managed_service.rb', line 223 class UpdateRuntimeRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |