This interface defines virtual methods for each of the user-facing overload sets in ProjectsClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type ProjectsClient.
To create a concrete instance, see MakeProjectsConnection().
[[["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-14 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eProjectsConnection\u003c/code\u003e object for \u003ccode\u003eProjectsClient\u003c/code\u003e, which is part of the Google Cloud C++ Compute API, showcasing its functionalities and methods across various versions.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 2.37.0-rc, with a list of prior versions down to 2.15.1 provided for reference.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eProjectsConnection\u003c/code\u003e allows for the injection of custom behavior during testing, as it defines virtual methods mirroring those found in \u003ccode\u003eProjectsClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eProjectsConnection\u003c/code\u003e object's core functionality is demonstrated through its virtual methods, such as \u003ccode\u003eDisableXpnHost\u003c/code\u003e, \u003ccode\u003eEnableXpnResource\u003c/code\u003e, \u003ccode\u003eGetProject\u003c/code\u003e, \u003ccode\u003eMoveDisk\u003c/code\u003e, and \u003ccode\u003eSetUsageExportBucket\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe provided content highlights how to create an instance using \u003ccode\u003eMakeProjectsConnection()\u003c/code\u003e and how to mock it using \u003ccode\u003ecompute_projects_v1_mocks::MockProjectsConnection\u003c/code\u003e for testing.\u003c/p\u003e\n"]]],[],null,[]]