This interface defines virtual methods for each of the user-facing overload sets in CloudBillingClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type CloudBillingClient.
[[["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 document details the `CloudBillingConnection` object, which acts as an interface defining virtual methods for `CloudBillingClient` overload sets, and is currently on version 2.17.0."],["The interface allows for injecting custom behavior during testing, as can be done with Google Mock objects, and the latest available release is 2.37.0-rc."],["`CloudBillingConnection`'s virtual functions, which are for interacting with billing accounts and project billing information, include `GetBillingAccount`, `ListBillingAccounts`, `UpdateBillingAccount`, `CreateBillingAccount`, `ListProjectBillingInfo`, `GetProjectBillingInfo`, `UpdateProjectBillingInfo`, `GetIamPolicy`, `SetIamPolicy`, and `TestIamPermissions`."],["A concrete instance of the `CloudBillingConnection` can be created using `MakeCloudBillingConnection()`, and `billing_v1_mocks::MockCloudBillingConnection` is available for mocking purposes."],["The document also shows the range of versions for the `CloudBillingConnection` which starts from 2.11.0 and goes up to the most recent 2.37.0-rc."]]],[]]