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 acts as an interface for the \u003ccode\u003eCloudShellServiceClient\u003c/code\u003e, defining virtual methods for each user-facing overload set in the client.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCloudShellServiceConnection\u003c/code\u003e object allows for custom behavior injection during testing, especially with mock objects, through the \u003ccode\u003eshell_v1_mocks::MockCloudShellServiceConnection\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe document provides links to various versions of the \u003ccode\u003eCloudShellServiceConnection\u003c/code\u003e class, from the latest release candidate (2.37.0-rc) down to version 2.11.0, allowing users to access the documentation for their specific version.\u003c/p\u003e\n"],["\u003cp\u003eThe functions available within \u003ccode\u003eCloudShellServiceConnection\u003c/code\u003e are documented, including \u003ccode\u003eoptions()\u003c/code\u003e, \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 with detailed parameters, and return types.\u003c/p\u003e\n"],["\u003cp\u003eUsers can find information on creating concrete instances using \u003ccode\u003eMakeCloudShellServiceConnection()\u003c/code\u003e, and mock testing information.\u003c/p\u003e\n"]]],[],null,[]]