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-08-14 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eServiceUsageConnection\u003c/code\u003e class within the Google Cloud C++ client library, with the latest release candidate being version 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServiceUsageConnection\u003c/code\u003e class offers virtual methods that mirror the user-facing overloads found in \u003ccode\u003eServiceUsageClient\u003c/code\u003e, facilitating the injection of custom testing behaviors.\u003c/p\u003e\n"],["\u003cp\u003eA range of previous versions of the \u003ccode\u003eServiceUsageConnection\u003c/code\u003e class is documented and available to browse from version 2.11.0 up to the latest.\u003c/p\u003e\n"],["\u003cp\u003eThe page outlines the various virtual functions available within \u003ccode\u003eServiceUsageConnection\u003c/code\u003e, such as \u003ccode\u003eEnableService\u003c/code\u003e, \u003ccode\u003eDisableService\u003c/code\u003e, \u003ccode\u003eGetService\u003c/code\u003e, \u003ccode\u003eListServices\u003c/code\u003e, \u003ccode\u003eBatchEnableServices\u003c/code\u003e, and \u003ccode\u003eBatchGetServices\u003c/code\u003e, which are used for managing Google Cloud services.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation also mentions how to create a concrete instance using \u003ccode\u003eMakeServiceUsageConnection()\u003c/code\u003e and how to use the mock class, \u003ccode\u003eMockServiceUsageConnection\u003c/code\u003e, for testing purposes.\u003c/p\u003e\n"]]],[],null,[]]