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-05-07 UTC."],[[["This webpage details the `ServiceUsageConnection` object, which acts as an interface defining virtual methods for various operations within the `ServiceUsageClient`."],["The latest version available is 2.37.0-rc, with multiple prior versions listed, ranging from 2.36.0 down to 2.11.0 for the `ServiceUsageConnection`."],["`ServiceUsageConnection` facilitates custom behavior injection during testing by allowing the use of mock objects."],["Key functions of the `ServiceUsageConnection` object include managing service states, retrieving service information, and conducting batch operations, such as `EnableService`, `DisableService`, `GetService`, `ListServices`, `BatchEnableServices`, and `BatchGetServices`."],["A concrete instance of this object can be created with `MakeServiceUsageConnection()`, and for testing it can be mocked using `serviceusage_v1_mocks::MockServiceUsageConnection`."]]],[]]