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 interface, which defines virtual methods for the user-facing overload sets in \u003ccode\u003eCloudShellServiceClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 2.37.0-rc, and a list of previous versions, dating back to 2.11.0, are available to browse.\u003c/p\u003e\n"],["\u003cp\u003eUsers can inject custom behavior when writing tests using \u003ccode\u003eCloudShellServiceClient\u003c/code\u003e objects, due to the \u003ccode\u003eCloudShellServiceConnection\u003c/code\u003e interface.\u003c/p\u003e\n"],["\u003cp\u003eThe interface includes methods for managing the environment, such as \u003ccode\u003eGetEnvironment\u003c/code\u003e, \u003ccode\u003eStartEnvironment\u003c/code\u003e, and \u003ccode\u003eAuthorizeEnvironment\u003c/code\u003e, as well as managing public keys through \u003ccode\u003eAddPublicKey\u003c/code\u003e and \u003ccode\u003eRemovePublicKey\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eFor concrete instances and mocking, you can refer to \u003ccode\u003eMakeCloudShellServiceConnection()\u003c/code\u003e and \u003ccode\u003eshell_v1_mocks::MockCloudShellServiceConnection\u003c/code\u003e, respectively.\u003c/p\u003e\n"]]],[],null,[]]