This interface defines virtual methods for each of the user-facing overload sets in QuotaControllerClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type QuotaControllerClient.
[[["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 details the `QuotaControllerConnection` object, which facilitates custom behavior injection for testing `QuotaControllerClient` objects."],["The latest version of the `QuotaControllerConnection` is 2.37.0-rc, and the page lists versions all the way down to 2.11.0 for the class `google::cloud::servicecontrol_v1::QuotaControllerConnection`."],["The `QuotaControllerConnection` interface offers virtual methods corresponding to each user-facing overload set in `QuotaControllerClient`."],["You can create a real instance of `QuotaControllerConnection` using `MakeQuotaControllerConnection()`, or mock it with `servicecontrol_v1_mocks::MockQuotaControllerConnection`."],["The `AllocateQuota` function within `QuotaControllerConnection` takes a `google::api::servicecontrol::v1::AllocateQuotaRequest` and returns a `StatusOr\u003cgoogle::api::servicecontrol::v1::AllocateQuotaResponse\u003e`."]]],[]]