This interface defines virtual methods for each of the user-facing overload sets in ServiceUsageClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type ServiceUsageClient.
[[["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 provides documentation for the `ServiceUsageConnection` object, which is used with the `ServiceUsageClient` in the Google Cloud Service Usage API."],["The `ServiceUsageConnection` interface allows for the injection of custom behavior in tests, such as with a Google Mock object, to test `ServiceUsageClient` functionality."],["The page lists various versions of the API, from the latest release candidate (2.37.0-rc) down to version 2.11.0, providing links to each version's documentation, such as `2.37.0-rc` all the way to `2.11.0`."],["It details the virtual methods within the `ServiceUsageConnection` interface, including `EnableService`, `DisableService`, `GetService`, `ListServices`, `BatchEnableServices`, and `BatchGetServices`, and their respective parameters and return types."],["Users can create a concrete instance of the `ServiceUsageConnection` by using the `MakeServiceUsageConnection()` function, or for testing purposes use the `serviceusage_v1_mocks::MockServiceUsageConnection` function."]]],[]]