Cloud Shell API

Stay organized with collections Save and categorize content based on your preferences.

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.

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


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 until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state.