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 defines virtual methods for each user-facing overload set in \u003ccode\u003eProjectsClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe content provides access to various versions of the \u003ccode\u003eProjectsConnection\u003c/code\u003e class, from the latest release candidate (2.37.0-rc) down to version 2.15.1.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eProjectsConnection\u003c/code\u003e interface facilitates custom behavior injection, such as using a Google Mock object for testing \u003ccode\u003eProjectsClient\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003eKey functions within the \u003ccode\u003eProjectsConnection\u003c/code\u003e object include managing XPN host and resource settings, project information retrieval, disk and instance movement, and setting metadata, network tiers, and usage export buckets.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eProjectsConnection\u003c/code\u003e also has a concrete instance that can be created by using the \u003ccode\u003eMakeProjectsConnection()\u003c/code\u003e function, and a mock version that can be used in testing called \u003ccode\u003ecompute_projects_v1_mocks::MockProjectsConnection\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]