AI Platform Notebooks V1 API - Class Google::Cloud::Notebooks::V1::UpdateRuntimeRequest (v0.4.2)

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
Returns
  • (::String) — Idempotent request UUID.

#request_id=

def request_id=(value) -> ::String
Parameter
  • value (::String) — Idempotent request UUID.
Returns
  • (::String) — Idempotent request UUID.

#runtime

def runtime() -> ::Google::Cloud::Notebooks::V1::Runtime
Returns

#runtime=

def runtime=(value) -> ::Google::Cloud::Notebooks::V1::Runtime
Parameter
Returns

#update_mask

def update_mask() -> ::Google::Protobuf::FieldMask
Returns
  • (::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

#update_mask=

def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
  • value (::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
Returns
  • (::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