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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThis webpage documents the \u003ccode\u003eProjectsConnection\u003c/code\u003e class, which defines the interface for interacting with \u003ccode\u003eProjectsClient\u003c/code\u003e and allows for custom behavior injection in tests.\u003c/p\u003e\n"],["\u003cp\u003eThe content lists various versions of the \u003ccode\u003eProjectsConnection\u003c/code\u003e, from 2.11.0 up to the latest release candidate 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eProjectsConnection\u003c/code\u003e class has methods for project operations such as \u003ccode\u003eGetProject\u003c/code\u003e, \u003ccode\u003eListProjects\u003c/code\u003e, \u003ccode\u003eSearchProjects\u003c/code\u003e, \u003ccode\u003eCreateProject\u003c/code\u003e, \u003ccode\u003eUpdateProject\u003c/code\u003e, \u003ccode\u003eMoveProject\u003c/code\u003e, \u003ccode\u003eDeleteProject\u003c/code\u003e, and \u003ccode\u003eUndeleteProject\u003c/code\u003e, each allowing for asynchronous handling and different request types.\u003c/p\u003e\n"],["\u003cp\u003eIt also includes methods for managing IAM policies via \u003ccode\u003eGetIamPolicy\u003c/code\u003e, \u003ccode\u003eSetIamPolicy\u003c/code\u003e, and \u003ccode\u003eTestIamPermissions\u003c/code\u003e, as well as methods to handle long-running operations.\u003c/p\u003e\n"],["\u003cp\u003eUsers can create a concrete instance of \u003ccode\u003eProjectsConnection\u003c/code\u003e using \u003ccode\u003eMakeProjectsConnection()\u003c/code\u003e or mock it with \u003ccode\u003eresourcemanager_v3_mocks::MockProjectsConnection\u003c/code\u003e for testing.\u003c/p\u003e\n"]]],[],null,[]]