2026-12-05
▼ ▲ notebooks.projects.locations.runtimes.testIamPermissions
Parameters :
resource
Location : path
Pattern : ^projects/[^/]+/locations/[^/]+/runtimes/[^/]+$
Description : REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
Type : string
Required : Yes
Description : Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
Scopes :
Path : v1/{+resource}:testIamPermissions
Parameter Order : resource
HTTP Method : POST
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}:testIamPermissions
▼ ▲ notebooks.projects.locations.runtimes.get
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}
HTTP Method : GET
Parameters :
name
Location : path
Pattern : ^projects/[^/]+/locations/[^/]+/runtimes/[^/]+$
Description : Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`
Required : Yes
Type : string
Scopes :
Path : v1/{+name}
Description : Gets details of a single Runtime. The location must be a regional endpoint rather than zonal.
Parameter Order : name
▼ ▲ notebooks.projects.locations.runtimes.migrate
Scopes :
Parameters :
name
Required : Yes
Type : string
Location : path
Pattern : ^projects/[^/]+/locations/[^/]+/runtimes/[^/]+$
Description : Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`
Path : v1/{+name}:migrate
Description : Migrate an existing Runtime to a new Workbench Instance.
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}:migrate
HTTP Method : POST
Parameter Order : name
▼ ▲ notebooks.projects.locations.runtimes.upgrade
Description : Upgrades a Managed Notebook Runtime to the latest version.
Path : v1/{+name}:upgrade
Scopes :
Parameters :
name
Required : Yes
Pattern : ^projects/[^/]+/locations/[^/]+/runtimes/[^/]+$
Description : Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`
Type : string
Location : path
Parameter Order : name
HTTP Method : POST
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}:upgrade
▼ ▲ notebooks.projects.locations.runtimes.create
Parameters :
parent
Pattern : ^projects/[^/]+/locations/[^/]+$
Location : path
Description : Required. Format: `parent=projects/{project_id}/locations/{location}`
Required : Yes
Type : string
runtimeId
Type : string
Location : query
Description : Required. User-defined unique ID of this Runtime.
requestId
Location : query
Type : string
Description : Idempotent request UUID.
Description : Creates a new Runtime in a given project and location.
Path : v1/{+parent}/runtimes
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/runtimes
Scopes :
Parameter Order : parent
HTTP Method : POST
▼ ▲ notebooks.projects.locations.runtimes.diagnose
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}:diagnose
Description : Creates a Diagnostic File and runs Diagnostic Tool given a Runtime.
Scopes :
Parameters :
name
Type : string
Location : path
Pattern : ^projects/[^/]+/locations/[^/]+/runtimes/[^/]+$
Description : Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtimes_id}`
Required : Yes
HTTP Method : POST
Parameter Order : name
Path : v1/{+name}:diagnose
▼ ▲ notebooks.projects.locations.runtimes.list
HTTP Method : GET
Parameter Order : parent
Path : v1/{+parent}/runtimes
Description : Lists Runtimes in a given project and location.
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/runtimes
Parameters :
pageSize
Format : int32
Description : Maximum return size of the list call.
Location : query
Type : integer
parent
Description : Required. Format: `parent=projects/{project_id}/locations/{location}`
Required : Yes
Pattern : ^projects/[^/]+/locations/[^/]+$
Type : string
Location : path
orderBy
Description : Optional. Sort results. Supported values are "name", "name desc" or "" (unsorted).
Type : string
Location : query
pageToken
Description : A previous returned page token that can be used to continue listing from the last result.
Location : query
Type : string
filter
Location : query
Type : string
Description : Optional. List filter.
Scopes :
▼ ▲ notebooks.projects.locations.runtimes.patch
HTTP Method : PATCH
Parameter Order : name
Path : v1/{+name}
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}
Scopes :
Parameters :
requestId
Location : query
Type : string
Description : Idempotent request UUID.
updateMask
Description : 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` - `labels`
Location : query
Type : string
Format : google-fieldmask
name
Description : Output only. The resource name of the runtime. Format: `projects/{project}/locations/{location}/runtimes/{runtimeId}`
Pattern : ^projects/[^/]+/locations/[^/]+/runtimes/[^/]+$
Required : Yes
Location : path
Type : string
Description : Update Notebook Runtime configuration.
▼ ▲ notebooks.projects.locations.runtimes.switch
Parameter Order : name
Scopes :
Parameters :
name
Required : Yes
Description : Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`
Pattern : ^projects/[^/]+/locations/[^/]+/runtimes/[^/]+$
Type : string
Location : path
Description : Switch a Managed Notebook Runtime.
HTTP Method : POST
Path : v1/{+name}:switch
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}:switch
▼ ▲ notebooks.projects.locations.runtimes.refreshRuntimeTokenInternal
Description : Gets an access token for the consumer service account that the customer attached to the runtime. Only accessible from the tenant instance.
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}:refreshRuntimeTokenInternal
Scopes :
HTTP Method : POST
Parameter Order : name
Path : v1/{+name}:refreshRuntimeTokenInternal
Parameters :
name
Required : Yes
Description : Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`
Type : string
Location : path
Pattern : ^projects/[^/]+/locations/[^/]+/runtimes/[^/]+$
▼ ▲ notebooks.projects.locations.runtimes.delete
Scopes :
HTTP Method : DELETE
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}
Path : v1/{+name}
Description : Deletes a single Runtime.
Parameter Order : name
Parameters :
name
Required : Yes
Description : Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`
Location : path
Pattern : ^projects/[^/]+/locations/[^/]+/runtimes/[^/]+$
Type : string
requestId
Type : string
Location : query
Description : Idempotent request UUID.
▼ ▲ notebooks.projects.locations.runtimes.getIamPolicy
Parameters :
options.requestedPolicyVersion
Type : integer
Location : query
Format : int32
Description : Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
resource
Type : string
Required : Yes
Description : REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
Location : path
Pattern : ^projects/[^/]+/locations/[^/]+/runtimes/[^/]+$
Path : v1/{+resource}:getIamPolicy
Description : Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
Scopes :
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}:getIamPolicy
HTTP Method : GET
Parameter Order : resource
▼ ▲ notebooks.projects.locations.runtimes.stop
Parameters :
name
Required : Yes
Type : string
Description : Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`
Pattern : ^projects/[^/]+/locations/[^/]+/runtimes/[^/]+$
Location : path
Parameter Order : name
Description : Stops a Managed Notebook Runtime. Perform "Stop" on GPU instances; "Suspend" on CPU instances See: https://cloud.google.com/compute/docs/instances/stop-start-instance https://cloud.google.com/compute/docs/instances/suspend-resume-instance
Scopes :
Path : v1/{+name}:stop
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}:stop
HTTP Method : POST
▼ ▲ notebooks.projects.locations.runtimes.setIamPolicy
Parameter Order : resource
Description : Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
Scopes :
Parameters :
resource
Location : path
Pattern : ^projects/[^/]+/locations/[^/]+/runtimes/[^/]+$
Type : string
Description : REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
Required : Yes
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}:setIamPolicy
HTTP Method : POST
Path : v1/{+resource}:setIamPolicy
▼ ▲ notebooks.projects.locations.runtimes.reportEvent
Path : v1/{+name}:reportEvent
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}:reportEvent
Scopes :
Parameters :
name
Location : path
Type : string
Description : Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`
Required : Yes
Pattern : ^projects/[^/]+/locations/[^/]+/runtimes/[^/]+$
Description : Reports and processes a runtime event.
HTTP Method : POST
Parameter Order : name
▼ ▲ notebooks.projects.locations.runtimes.start
HTTP Method : POST
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}:start
Path : v1/{+name}:start
Scopes :
Parameters :
name
Type : string
Required : Yes
Pattern : ^projects/[^/]+/locations/[^/]+/runtimes/[^/]+$
Location : path
Description : Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`
Parameter Order : name
Description : Starts a Managed Notebook Runtime. Perform "Start" on GPU instances; "Resume" on CPU instances See: https://cloud.google.com/compute/docs/instances/stop-start-instance https://cloud.google.com/compute/docs/instances/suspend-resume-instance
▼ ▲ notebooks.projects.locations.runtimes.reset
Description : Resets a Managed Notebook Runtime.
Parameter Order : name
Parameters :
name
Pattern : ^projects/[^/]+/locations/[^/]+/runtimes/[^/]+$
Type : string
Required : Yes
Description : Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`
Location : path
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}:reset
HTTP Method : POST
Scopes :
Path : v1/{+name}:reset