Method: projects.locations.runtimes.patch

Stay organized with collections Save and categorize content based on your preferences.

Update Notebook Runtime configuration.

HTTP request

PATCH https://notebooks.googleapis.com/v1/{runtime.name}

Path parameters

Parameters
runtime.name

string

Output only. The resource name of the runtime. Format: projects/{project}/locations/{location}/runtimes/{runtimeId}

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. Specifies the path, relative to Runtime, of the field to update. For example, to change the software configuration kernels, the updateMask parameter would be specified as softwareConfig.kernels, and the PATCH request body would specify the new value, as follows:

{
  "softwareConfig":{
    "kernels": [{
       'repository':
       'gcr.io/deeplearning-platform-release/pytorch-gpu', 'tag':
       'latest' }],
    }
}

Currently, only the following fields can be updated: - softwareConfig.kernels - softwareConfig.post_startup_script - softwareConfig.custom_gpu_driver_path - softwareConfig.idle_shutdown - softwareConfig.idle_shutdown_timeout - softwareConfig.disable_terminal

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

requestId

string

Idempotent request UUID.

Request body

The request body contains an instance of Runtime.