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-15 UTC."],[[["This webpage details the `ProjectsConnection` interface for the `ProjectsClient` in the Google Cloud C++ Compute library, focusing on version 2.19.0."],["The `ProjectsConnection` interface offers virtual methods that mirror the user-facing overload sets in `ProjectsClient`, facilitating custom behavior injection during testing with mock objects."],["The page provides a list of available versions of the `ProjectsConnection` class, ranging from version 2.37.0-rc (latest) down to version 2.15.1."],["Key functions are defined within the interface, including `DisableXpnHost`, `EnableXpnHost`, `GetProject`, `MoveDisk`, `MoveInstance` and other functions, alongside their respective parameter and return details."],["`MakeProjectsConnection()` is the function to create concrete instances of this object, while `MockProjectsConnection` can be utilized for mocking purposes."]]],[]]