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."],[[["The `ProjectsConnection` object, which is used for `ProjectsClient`, defines the interface for interacting with various project-related operations."],["This page provides access to different versions of the `ProjectsConnection` class, including the latest release candidate, `2.37.0-rc`, and prior versions going back to version 2.15.1."],["Users can utilize the `ProjectsConnection` interface to implement custom behavior or mocking during testing with `ProjectsClient`, allowing for greater flexibility."],["The interface includes a variety of functions for managing project settings, such as enabling and disabling XPN host and resource settings, getting project details, moving disks and instances, setting common metadata, network tier, and usage export bucket."],["The interface provides details on parameters and returns for each of the virtual functions, such as `DisableXpnHost`, `EnableXpnResource`, `GetProject` and more, with most of the functions returning a future `StatusOr\u003c google::cloud::cpp::compute::v1::Operation \u003e`."]]],[]]