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 provides documentation for the \u003ccode\u003eProjectsConnection\u003c/code\u003e object, which is part of the Google Cloud C++ client library for Compute Projects API.\u003c/p\u003e\n"],["\u003cp\u003eIt outlines the available versions of the \u003ccode\u003eProjectsConnection\u003c/code\u003e class, from 2.15.1 up to the latest release candidate 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eProjectsConnection\u003c/code\u003e object interface allows for the definition of virtual methods for user-facing overload sets in \u003ccode\u003eProjectsClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe page details virtual methods that can be used, including managing XPN resources and host, moving disk and instances, and setting instance metadata, network tiers, and usage export buckets.\u003c/p\u003e\n"],["\u003cp\u003eThe page also offers direction for creating a concrete instance with \u003ccode\u003eMakeProjectsConnection()\u003c/code\u003e and mocking instances with \u003ccode\u003ecompute_projects_v1_mocks::MockProjectsConnection\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]