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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-26 UTC."],[[["This webpage details the `ServiceUsageConnection` object for `ServiceUsageClient`, providing a reference for versions 2.11.0 through 2.37.0-rc."],["The `ServiceUsageConnection` interface allows for custom behavior injection in `ServiceUsageClient` for testing purposes, and a `MockServiceUsageConnection` is available for mocking."],["Key functionalities detailed on this page include enabling, disabling, getting, listing, and batch enabling services, alongside handling operations and obtaining options."],["The methods available utilize parameter objects like `EnableServiceRequest`, `DisableServiceRequest`, `ListServicesRequest` and `BatchEnableServicesRequest`, among others, to manage service interactions."],["Functions within this page have the ability to return objects like `StatusOr\u003cgoogle::api::serviceusage::v1::EnableServiceResponse\u003e` and `StreamRange\u003cgoogle::api::serviceusage::v1::Service\u003e` depending on the action performed."]]],[]]