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.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCloudShellServiceConnection\u003c/code\u003e allows for custom behavior injection, such as with a Google Mock object, when writing tests for \u003ccode\u003eCloudShellServiceClient\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists the various available versions of the \u003ccode\u003eCloudShellServiceConnection\u003c/code\u003e, starting with the latest release candidate version 2.37.0-rc, going all the way down to 2.11.0.\u003c/p\u003e\n"],["\u003cp\u003eThe page defines several virtual methods within \u003ccode\u003eCloudShellServiceConnection\u003c/code\u003e, including \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.\u003c/p\u003e\n"],["\u003cp\u003eThe document guides you to use \u003ccode\u003eMakeCloudShellServiceConnection()\u003c/code\u003e to create an instance, or \u003ccode\u003eshell_v1_mocks::MockCloudShellServiceConnection\u003c/code\u003e for mocking.\u003c/p\u003e\n"]]],[],null,[]]