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 used for interacting with Google Compute Engine projects.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eProjectsConnection\u003c/code\u003e interface allows for custom behavior injection, such as with a Google Mock object, during testing of \u003ccode\u003eProjectsClient\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists various versions of the API, with \u003ccode\u003e2.37.0-rc\u003c/code\u003e as the latest version, and includes access to the \u003ccode\u003eProjectsConnection\u003c/code\u003e for versions down to \u003ccode\u003e2.15.1\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt defines virtual methods for actions such as enabling/disabling XPN resources, getting project details, moving instances/disks, and setting common instance metadata.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eProjectsConnection\u003c/code\u003e also provides functionality for managing XPN hosts, including listing and retrieving them.\u003c/p\u003e\n"]]],[],null,[]]