Cloud Shell API

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


The Service name is needed to create RPC client stubs.

AuthorizeEnvironment Sends OAuth credentials to a running environment on behalf of a user.
CreatePublicKey Adds a public SSH key to an environment, allowing clients with the corresponding private key to connect to that environment via SSH.
DeletePublicKey Removes a public SSH key from an environment.
GetEnvironment Gets an environment.
StartEnvironment Starts an existing environment, allowing clients to connect to it.
UpdateEnvironment Updates an existing environment.


CancelOperation Starts asynchronous cancellation on a long-running operation.
DeleteOperation Deletes a long-running operation.
GetOperation Gets the latest state of a long-running operation.
ListOperations Lists operations that match the specified filter in the request.
WaitOperation Waits for the specified long-running operation until it is done or reaches at most a specified timeout, returning the latest state.