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-21 UTC."],[[["This webpage details the `ProjectsConnection` object for `ProjectsClient`, which is part of the Google Cloud C++ Compute API, showcasing its functionalities and methods across various versions."],["The latest version available is 2.37.0-rc, with a list of prior versions down to 2.15.1 provided for reference."],["`ProjectsConnection` allows for the injection of custom behavior during testing, as it defines virtual methods mirroring those found in `ProjectsClient`."],["The `ProjectsConnection` object's core functionality is demonstrated through its virtual methods, such as `DisableXpnHost`, `EnableXpnResource`, `GetProject`, `MoveDisk`, and `SetUsageExportBucket`."],["The provided content highlights how to create an instance using `MakeProjectsConnection()` and how to mock it using `compute_projects_v1_mocks::MockProjectsConnection` for testing."]]],[]]