# Cloud Shell API

Allows users to start, configure, and connect to interactive shell sessions running in the cloud.

## Service: cloudshell.googleapis.com

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

## `https://docs.cloud.google.com/shell/docs/reference/rpc/google.cloud.shell.v1#google.cloud.shell.v1.CloudShellService`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/shell/docs/reference/rpc/google.cloud.shell.v1#google.cloud.shell.v1.CloudShellService.AddPublicKey` `` | Adds a public SSH key to an environment, allowing clients with the corresponding private key to connect to that environment via SSH. |
| `` `https://docs.cloud.google.com/shell/docs/reference/rpc/google.cloud.shell.v1#google.cloud.shell.v1.CloudShellService.AuthorizeEnvironment` `` | Sends OAuth credentials to a running environment on behalf of a user. |
| `` `https://docs.cloud.google.com/shell/docs/reference/rpc/google.cloud.shell.v1#google.cloud.shell.v1.CloudShellService.GetEnvironment` `` | Gets an environment. |
| `` `https://docs.cloud.google.com/shell/docs/reference/rpc/google.cloud.shell.v1#google.cloud.shell.v1.CloudShellService.RemovePublicKey` `` | Removes a public SSH key from an environment. |
| `` `https://docs.cloud.google.com/shell/docs/reference/rpc/google.cloud.shell.v1#google.cloud.shell.v1.CloudShellService.StartEnvironment` `` | Starts an existing environment, allowing clients to connect to it. |

## `https://docs.cloud.google.com/shell/docs/reference/rpc/google.longrunning#google.longrunning.Operations`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/shell/docs/reference/rpc/google.longrunning#google.longrunning.Operations.CancelOperation` `` | Starts asynchronous cancellation on a long-running operation. |
| `` `https://docs.cloud.google.com/shell/docs/reference/rpc/google.longrunning#google.longrunning.Operations.DeleteOperation` `` | Deletes a long-running operation. |
| `` `https://docs.cloud.google.com/shell/docs/reference/rpc/google.longrunning#google.longrunning.Operations.GetOperation` `` | Gets the latest state of a long-running operation. |
| `` `https://docs.cloud.google.com/shell/docs/reference/rpc/google.longrunning#google.longrunning.Operations.ListOperations` `` | Lists operations that match the specified filter in the request. |
| `` `https://docs.cloud.google.com/shell/docs/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. |