This interface defines virtual methods for each of the user-facing overload sets in CloudShellServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type CloudShellServiceClient.
[[["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-22 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eCloudShellServiceConnection\u003c/code\u003e object, which is used in conjunction with \u003ccode\u003eCloudShellServiceClient\u003c/code\u003e for interacting with the Google Cloud Shell service.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCloudShellServiceConnection\u003c/code\u003e interface defines virtual methods that mirror the user-facing overload sets in \u003ccode\u003eCloudShellServiceClient\u003c/code\u003e, facilitating custom behavior injection during testing.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage provides links to documentation for different versions of \u003ccode\u003eCloudShellServiceConnection\u003c/code\u003e, ranging from version 2.11.0 to the latest release candidate 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eKey functionalities of the interface include methods for managing environments (GetEnvironment, StartEnvironment, AuthorizeEnvironment) and public keys (AddPublicKey, RemovePublicKey).\u003c/p\u003e\n"],["\u003cp\u003eThe webpage has a dedicated section for creating a concrete instance using \u003ccode\u003eMakeCloudShellServiceConnection()\u003c/code\u003e as well as utilizing \u003ccode\u003eshell_v1_mocks::MockCloudShellServiceConnection\u003c/code\u003e for mocking purposes.\u003c/p\u003e\n"]]],[],null,[]]