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 interface for the \u003ccode\u003eProjectsClient\u003c/code\u003e in the Google Cloud C++ Compute library, focusing on version 2.19.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eProjectsConnection\u003c/code\u003e interface offers virtual methods that mirror the user-facing overload sets in \u003ccode\u003eProjectsClient\u003c/code\u003e, facilitating custom behavior injection during testing with mock objects.\u003c/p\u003e\n"],["\u003cp\u003eThe page provides a list of available versions of the \u003ccode\u003eProjectsConnection\u003c/code\u003e class, ranging from version 2.37.0-rc (latest) down to version 2.15.1.\u003c/p\u003e\n"],["\u003cp\u003eKey functions are defined within the interface, including \u003ccode\u003eDisableXpnHost\u003c/code\u003e, \u003ccode\u003eEnableXpnHost\u003c/code\u003e, \u003ccode\u003eGetProject\u003c/code\u003e, \u003ccode\u003eMoveDisk\u003c/code\u003e, \u003ccode\u003eMoveInstance\u003c/code\u003e and other functions, alongside their respective parameter and return details.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMakeProjectsConnection()\u003c/code\u003e is the function to create concrete instances of this object, while \u003ccode\u003eMockProjectsConnection\u003c/code\u003e can be utilized for mocking purposes.\u003c/p\u003e\n"]]],[],null,[]]