# Notebooks API

The Notebooks API lets you manage Agent Platform Workbench resources in Google Cloud.

## Service: notebooks.googleapis.com

The Service name `notebooks.googleapis.com` is needed to create RPC client stubs.

## `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.location#google.cloud.location.Locations`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.location#google.cloud.location.Locations.GetLocation` `` | Gets information about a location. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.location#google.cloud.location.Locations.ListLocations` `` | Lists information about the supported locations for this service. |

## `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.ManagedNotebookService`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.ManagedNotebookService.CreateRuntime` `` | Creates a new Runtime in a given project and location. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.ManagedNotebookService.DeleteRuntime` `` | Deletes a single Runtime. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.ManagedNotebookService.GetRuntime` `` | Gets details of a single Runtime. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.ManagedNotebookService.ListRuntimes` `` | Lists Runtimes in a given project and location. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.ManagedNotebookService.MigrateRuntime` `` | Migrate an existing Runtime to a new Workbench Instance. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.ManagedNotebookService.ReportRuntimeEvent` `` | Reports and processes a runtime event. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.ManagedNotebookService.ResetRuntime` `` | Resets a Managed Notebook Runtime. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.ManagedNotebookService.StartRuntime` `` | Starts a Managed Notebook Runtime. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.ManagedNotebookService.StopRuntime` `` | Stops a Managed Notebook Runtime. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.ManagedNotebookService.SwitchRuntime` `` | Switch a Managed Notebook Runtime. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.ManagedNotebookService.UpdateRuntime` `` | Update Notebook Runtime configuration. |

## `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.NotebookService`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.NotebookService.CreateEnvironment` `` | Creates a new Environment. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.NotebookService.CreateExecution` `` | Creates a new Execution in a given project and location. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.NotebookService.CreateInstance` `` | Creates a new Instance in a given project and location. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.NotebookService.CreateSchedule` `` | Creates a new Scheduled Notebook in a given project and location. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.NotebookService.DeleteEnvironment` `` | Deletes a single Environment. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.NotebookService.DeleteExecution` `` | Deletes execution |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.NotebookService.DeleteInstance` `` | Deletes a single Instance. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.NotebookService.DeleteSchedule` `` | Deletes schedule and all underlying jobs |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.NotebookService.DiagnoseInstance` `` | Creates a Diagnostic File and runs Diagnostic Tool given an Instance. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.NotebookService.GetEnvironment` `` | Gets details of a single Environment. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.NotebookService.GetExecution` `` | Gets details of executions |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.NotebookService.GetInstance` `` | Gets details of a single Instance. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.NotebookService.GetInstanceHealth` `` | Checks whether a notebook instance is healthy. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.NotebookService.GetSchedule` `` | Gets details of schedule |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.NotebookService.IsInstanceUpgradeable` `` | Checks whether a notebook instance is upgradable. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.NotebookService.ListEnvironments` `` | Lists environments in a project. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.NotebookService.ListExecutions` `` | Lists executions in a given project and location |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.NotebookService.ListInstances` `` | Lists instances in a given project and location. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.NotebookService.ListSchedules` `` | Lists schedules in a given project and location. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.NotebookService.MigrateInstance` `` | Migrates an existing User-Managed Notebook to Workbench Instances. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.NotebookService.RegisterInstance` `` | Registers an existing legacy notebook instance to the Notebooks API server. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.NotebookService.ReportInstanceInfo` `` | Allows notebook instances to report their latest instance information to the Notebooks API server. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.NotebookService.ResetInstance` `` | Resets a notebook instance. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.NotebookService.RollbackInstance` `` | Rollbacks a notebook instance to the previous version. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.NotebookService.SetInstanceAccelerator` `` | Updates the guest accelerators of a single Instance. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.NotebookService.SetInstanceLabels` `` | Replaces all the labels of an Instance. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.NotebookService.SetInstanceMachineType` `` | Updates the machine type of a single Instance. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.NotebookService.StartInstance` `` | Starts a notebook instance. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.NotebookService.StopInstance` `` | Stops a notebook instance. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.NotebookService.UpdateInstanceConfig` `` | Update Notebook Instance configurations. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.NotebookService.UpdateInstanceMetadataItems` `` | Add/update metadata items for an instance. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.NotebookService.UpdateShieldedInstanceConfig` `` | Updates the Shielded instance configuration of a single Instance. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v1#google.cloud.notebooks.v1.NotebookService.UpgradeInstance` `` | Upgrades a notebook instance to the latest version. |

## `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v2#google.cloud.notebooks.v2.NotebookService`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v2#google.cloud.notebooks.v2.NotebookService.CheckInstanceUpgradability` `` | Checks whether a notebook instance is upgradable. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v2#google.cloud.notebooks.v2.NotebookService.CreateInstance` `` | Creates a new Instance in a given project and location. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v2#google.cloud.notebooks.v2.NotebookService.DeleteInstance` `` | Deletes a single Instance. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v2#google.cloud.notebooks.v2.NotebookService.DiagnoseInstance` `` | Creates a Diagnostic File and runs Diagnostic Tool given an Instance. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v2#google.cloud.notebooks.v2.NotebookService.GetConfig` `` | Returns various configuration parameters. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v2#google.cloud.notebooks.v2.NotebookService.GetInstance` `` | Gets details of a single Instance. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v2#google.cloud.notebooks.v2.NotebookService.ListInstances` `` | Lists instances in a given project and location. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v2#google.cloud.notebooks.v2.NotebookService.ResetInstance` `` | Resets a notebook instance. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v2#google.cloud.notebooks.v2.NotebookService.ResizeDisk` `` | Resize a notebook instance disk to a higher capacity. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v2#google.cloud.notebooks.v2.NotebookService.RestoreInstance` `` | RestoreInstance restores an Instance from a BackupSource. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v2#google.cloud.notebooks.v2.NotebookService.RollbackInstance` `` | Rollbacks a notebook instance to the previous version. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v2#google.cloud.notebooks.v2.NotebookService.StartInstance` `` | Starts a notebook instance. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v2#google.cloud.notebooks.v2.NotebookService.StopInstance` `` | Stops a notebook instance. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v2#google.cloud.notebooks.v2.NotebookService.UpdateInstance` `` | UpdateInstance updates an Instance. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.cloud.notebooks.v2#google.cloud.notebooks.v2.NotebookService.UpgradeInstance` `` | Upgrades a notebook instance to the latest version. |

## `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.iam.v1#google.iam.v1.IAMPolicy`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.iam.v1#google.iam.v1.IAMPolicy.GetIamPolicy` `` | Gets the access control policy for a resource. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.iam.v1#google.iam.v1.IAMPolicy.SetIamPolicy` `` | Sets the access control policy on the specified resource. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.iam.v1#google.iam.v1.IAMPolicy.TestIamPermissions` `` | Returns permissions that a caller has on the specified resource. |

## `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.longrunning#google.longrunning.Operations`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.longrunning#google.longrunning.Operations.CancelOperation` `` | Starts asynchronous cancellation on a long-running operation. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.longrunning#google.longrunning.Operations.DeleteOperation` `` | Deletes a long-running operation. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.longrunning#google.longrunning.Operations.GetOperation` `` | Gets the latest state of a long-running operation. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.longrunning#google.longrunning.Operations.ListOperations` `` | Lists operations that match the specified filter in the request. |
| `` `https://docs.cloud.google.com/gemini-enterprise-agent-platform/notebooks/workbench/reference/rpc/google.longrunning#google.longrunning.Operations.WaitOperation` `` | Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. |