Reference documentation and code samples for the Cloud Shell v1 API class CloudShellService.
API for interacting with Google Cloud Shell. Each user of Cloud Shell has at
least one environment, which has the ID "default". Environment consists of a
Docker image defining what is installed on the environment and a home
directory containing the user's data that will remain across sessions.
Clients use this API to start and fetch information about their environment,
which can then be used to connect to that environment via a separate SSH
client.
public static void BindService(ServiceBinderBase serviceBinder, CloudShellService.CloudShellServiceBase serviceImpl)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
Note: this method is part of an experimental API that can change or be removed without any prior notice.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation provides details for the \u003ccode\u003eCloudShellService\u003c/code\u003e class within the Google Cloud Shell v1 API, which is used for interacting with Google Cloud Shell environments.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCloudShellService\u003c/code\u003e class, part of the \u003ccode\u003eGoogle.Cloud.Shell.V1\u003c/code\u003e namespace, enables users to manage their Cloud Shell environments, including starting and fetching information about them.\u003c/p\u003e\n"],["\u003cp\u003eThe provided documentation lists versioned links to the \u003ccode\u003eCloudShellService\u003c/code\u003e class, starting from the latest version 2.5.0 down to version 1.0.0, to allow for referencing multiple versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCloudShellService\u003c/code\u003e class inherits from the base \u003ccode\u003eObject\u003c/code\u003e class and includes methods like \u003ccode\u003eBindService\u003c/code\u003e to register server-side handling logic.\u003c/p\u003e\n"],["\u003cp\u003eThe key operations that can be performed with this service include managing environments, which consist of a docker image and a home directory for persistent user data.\u003c/p\u003e\n"]]],[],null,[]]