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"]],[["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-03-05 UTC."],[[["This webpage details the `ProjectsConnection` object for `ProjectsClient`, which defines virtual methods for each user-facing overload set in `ProjectsClient`."],["The content provides access to various versions of the `ProjectsConnection` class, from the latest release candidate (2.37.0-rc) down to version 2.15.1."],["The `ProjectsConnection` interface facilitates custom behavior injection, such as using a Google Mock object for testing `ProjectsClient` objects."],["Key functions within the `ProjectsConnection` object include managing XPN host and resource settings, project information retrieval, disk and instance movement, and setting metadata, network tiers, and usage export buckets."],["The `ProjectsConnection` also has a concrete instance that can be created by using the `MakeProjectsConnection()` function, and a mock version that can be used in testing called `compute_projects_v1_mocks::MockProjectsConnection`."]]],[]]