The Notebooks API lets you manage Vertex AI Workbench resources in Google Cloud.
Service: notebooks.googleapis.com
To call this service, we recommend that you use the Google-provided client libraries . If your application needs to use your own libraries to call this service, use the following information when you make the API requests.
Discovery document
A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery documents:
Service endpoint
A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:
-  https://notebooks.googleapis.com
REST Resource: v2.projects.locations
| Methods | |
|---|---|
|  get 
 | GET /v2/{name}Gets information about a location. | 
|  list 
 | GET /v2/{name}/locationsLists information about the supported locations for this service. | 
REST Resource: v2.projects.locations.instances
| Methods | |
|---|---|
|  checkUpgradability 
 | GET /v2/{notebookInstance}:checkUpgradabilityChecks whether a notebook instance is upgradable. | 
|  create 
 | POST /v2/{parent}/instancesCreates a new Instance in a given project and location. | 
|  delete 
 | DELETE /v2/{name}Deletes a single Instance. | 
|  diagnose 
 | POST /v2/{name}:diagnoseCreates a Diagnostic File and runs Diagnostic Tool given an Instance. | 
|  get 
 | GET /v2/{name}Gets details of a single Instance. | 
|  getConfig 
 | GET /v2/{name}/instances:getConfigReturns various configuration parameters. | 
|  getIamPolicy 
 | GET /v2/{resource}:getIamPolicyGets the access control policy for a resource. | 
|  list 
 | GET /v2/{parent}/instancesLists instances in a given project and location. | 
|  patch 
 | PATCH /v2/{instance.name}UpdateInstance updates an Instance. | 
|  reset 
 | POST /v2/{name}:resetResets a notebook instance. | 
|  resizeDisk 
 | POST /v2/{notebookInstance}:resizeDiskResize a notebook instance disk to a higher capacity. | 
|  restore 
 | POST /v2/{name}:restoreRestoreInstance restores an Instance from a BackupSource. | 
|  rollback 
 | POST /v2/{name}:rollbackRollbacks a notebook instance to the previous version. | 
|  setIamPolicy 
 | POST /v2/{resource}:setIamPolicySets the access control policy on the specified resource. | 
|  start 
 | POST /v2/{name}:startStarts a notebook instance. | 
|  stop 
 | POST /v2/{name}:stopStops a notebook instance. | 
|  testIamPermissions 
 | POST /v2/{resource}:testIamPermissionsReturns permissions that a caller has on the specified resource. | 
|  upgrade 
 | POST /v2/{name}:upgradeUpgrades a notebook instance to the latest version. | 
REST Resource: v2.projects.locations.operations
| Methods | |
|---|---|
|  cancel 
 | POST /v2/{name}:cancelStarts asynchronous cancellation on a long-running operation. | 
|  delete 
 | DELETE /v2/{name}Deletes a long-running operation. | 
|  get 
 | GET /v2/{name}Gets the latest state of a long-running operation. | 
|  list 
 | GET /v2/{name}/operationsLists operations that match the specified filter in the request. | 
REST Resource: v1.projects.locations
| Methods | |
|---|---|
|  get 
 | GET /v1/{name}Gets information about a location. | 
|  list 
 | GET /v1/{name}/locationsLists information about the supported locations for this service. | 
REST Resource: v1.projects.locations.environments
| Methods | |
|---|---|
|  create 
 | POST /v1/{parent}/environmentsCreates a new Environment. | 
|  delete 
 | DELETE /v1/{name}Deletes a single Environment. | 
|  get 
 | GET /v1/{name}Gets details of a single Environment. | 
|  list 
 | GET /v1/{parent}/environmentsLists environments in a project. | 
REST Resource: v1.projects.locations.executions
| Methods | |
|---|---|
|  create 
 | POST /v1/{parent}/executionsCreates a new Execution in a given project and location. | 
|  delete 
 | DELETE /v1/{name}Deletes execution | 
|  get 
 | GET /v1/{name}Gets details of executions | 
|  list 
 | GET /v1/{parent}/executionsLists executions in a given project and location | 
REST Resource: v1.projects.locations.instances
| Methods | |
|---|---|
|  create 
 | POST /v1/{parent}/instancesCreates a new Instance in a given project and location. | 
|  delete 
 | DELETE /v1/{name}Deletes a single Instance. | 
|  diagnose 
 | POST /v1/{name}:diagnoseCreates a Diagnostic File and runs Diagnostic Tool given an Instance. | 
|  get 
 | GET /v1/{name}Gets details of a single Instance. | 
|  getIamPolicy 
 | GET /v1/{resource}:getIamPolicyGets the access control policy for a resource. | 
|  getInstanceHealth 
 | GET /v1/{name}:getInstanceHealthChecks whether a notebook instance is healthy. | 
|  isUpgradeable 
 | GET /v1/{notebookInstance}:isUpgradeableChecks whether a notebook instance is upgradable. | 
|  list 
 | GET /v1/{parent}/instancesLists instances in a given project and location. | 
|  migrate 
 | POST /v1/{name}:migrateMigrates an existing User-Managed Notebook to Workbench Instances. | 
|  register 
 | POST /v1/{parent}/instances:registerRegisters an existing legacy notebook instance to the Notebooks API server. | 
|  report 
 | POST /v1/{name}:reportAllows notebook instances to report their latest instance information to the Notebooks API server. | 
|  reset 
 | POST /v1/{name}:resetResets a notebook instance. | 
|  rollback 
 | POST /v1/{name}:rollbackRollbacks a notebook instance to the previous version. | 
|  setAccelerator 
 | PATCH /v1/{name}:setAcceleratorUpdates the guest accelerators of a single Instance. | 
|  setIamPolicy 
 | POST /v1/{resource}:setIamPolicySets the access control policy on the specified resource. | 
|  setLabels 
 | PATCH /v1/{name}:setLabelsReplaces all the labels of an Instance. | 
|  setMachineType 
 | PATCH /v1/{name}:setMachineTypeUpdates the machine type of a single Instance. | 
|  start 
 | POST /v1/{name}:startStarts a notebook instance. | 
|  stop 
 | POST /v1/{name}:stopStops a notebook instance. | 
|  testIamPermissions 
 | POST /v1/{resource}:testIamPermissionsReturns permissions that a caller has on the specified resource. | 
|  updateConfig 
 | PATCH /v1/{name}:updateConfigUpdate Notebook Instance configurations. | 
|  updateMetadataItems 
 | PATCH /v1/{name}:updateMetadataItemsAdd/update metadata items for an instance. | 
|  updateShieldedInstanceConfig 
 | PATCH /v1/{name}:updateShieldedInstanceConfigUpdates the Shielded instance configuration of a single Instance. | 
|  upgrade 
 | POST /v1/{name}:upgradeUpgrades a notebook instance to the latest version. | 
REST Resource: v1.projects.locations.operations
| Methods | |
|---|---|
|  cancel 
 | POST /v1/{name}:cancelStarts asynchronous cancellation on a long-running operation. | 
|  delete 
 | DELETE /v1/{name}Deletes a long-running operation. | 
|  get 
 | GET /v1/{name}Gets the latest state of a long-running operation. | 
|  list 
 | GET /v1/{name}/operationsLists operations that match the specified filter in the request. | 
REST Resource: v1.projects.locations.runtimes
| Methods | |
|---|---|
|  create 
 | POST /v1/{parent}/runtimesCreates a new Runtime in a given project and location. | 
|  delete 
 | DELETE /v1/{name}Deletes a single Runtime. | 
|  get 
 | GET /v1/{name}Gets details of a single Runtime. | 
|  getIamPolicy 
 | GET /v1/{resource}:getIamPolicyGets the access control policy for a resource. | 
|  list 
 | GET /v1/{parent}/runtimesLists Runtimes in a given project and location. | 
|  migrate 
 | POST /v1/{name}:migrateMigrate an existing Runtime to a new Workbench Instance. | 
|  patch 
 | PATCH /v1/{runtime.name}Update Notebook Runtime configuration. | 
|  reportEvent 
 | POST /v1/{name}:reportEventReports and processes a runtime event. | 
|  reset 
 | POST /v1/{name}:resetResets a Managed Notebook Runtime. | 
|  setIamPolicy 
 | POST /v1/{resource}:setIamPolicySets the access control policy on the specified resource. | 
|  start 
 | POST /v1/{name}:startStarts a Managed Notebook Runtime. | 
|  stop 
 | POST /v1/{name}:stopStops a Managed Notebook Runtime. | 
|  switch 
 | POST /v1/{name}:switchSwitch a Managed Notebook Runtime. | 
|  testIamPermissions 
 | POST /v1/{resource}:testIamPermissionsReturns permissions that a caller has on the specified resource. | 
REST Resource: v1.projects.locations.schedules
| Methods | |
|---|---|
|  create 
 | POST /v1/{parent}/schedulesCreates a new Scheduled Notebook in a given project and location. | 
|  delete 
 | DELETE /v1/{name}Deletes schedule and all underlying jobs | 
|  get 
 | GET /v1/{name}Gets details of schedule | 
|  list 
 | GET /v1/{parent}/schedulesLists schedules in a given project and location. | 

