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 provides documentation for the \u003ccode\u003eCloudShellServiceConnection\u003c/code\u003e class, which is a key component for interacting with the \u003ccode\u003eCloudShellServiceClient\u003c/code\u003e in the Google Cloud Shell service.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCloudShellServiceConnection\u003c/code\u003e class defines virtual methods that mirror the user-facing overload sets found in \u003ccode\u003eCloudShellServiceClient\u003c/code\u003e, allowing for customized behaviors in testing.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version, 2.37.0-rc, is available alongside various prior versions dating back to 2.11.0, each linking to their own specific documentation page.\u003c/p\u003e\n"],["\u003cp\u003eThe page details how to create a concrete instance of \u003ccode\u003eCloudShellServiceConnection\u003c/code\u003e using \u003ccode\u003eMakeCloudShellServiceConnection()\u003c/code\u003e and provides information for mocking it using \u003ccode\u003eshell_v1_mocks::MockCloudShellServiceConnection\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCloudShellServiceConnection\u003c/code\u003e class includes virtual functions such as \u003ccode\u003eGetEnvironment\u003c/code\u003e, \u003ccode\u003eStartEnvironment\u003c/code\u003e, \u003ccode\u003eAuthorizeEnvironment\u003c/code\u003e, \u003ccode\u003eAddPublicKey\u003c/code\u003e, and \u003ccode\u003eRemovePublicKey\u003c/code\u003e, each handling different Cloud Shell operations and detailed in the documentation.\u003c/p\u003e\n"]]],[],null,[]]