This interface defines virtual methods for each of the user-facing overload sets in ServiceControllerClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type ServiceControllerClient.
[[["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 page details the \u003ccode\u003eServiceControllerConnection\u003c/code\u003e class, which is an interface for \u003ccode\u003eServiceControllerClient\u003c/code\u003e and allows for custom behavior injection, like with Google Mock objects, in testing.\u003c/p\u003e\n"],["\u003cp\u003eThe latest release candidate version of the \u003ccode\u003eServiceControllerConnection\u003c/code\u003e is 2.37.0-rc, with numerous other previous releases available, including version 2.28.0 which this documentation centers around.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServiceControllerConnection\u003c/code\u003e object can be instantiated using the \u003ccode\u003eMakeServiceControllerConnection()\u003c/code\u003e function.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServiceControllerConnection\u003c/code\u003e interface includes virtual methods for \u003ccode\u003eoptions()\u003c/code\u003e, \u003ccode\u003eCheck(google::api::servicecontrol::v2::CheckRequest const &)\u003c/code\u003e, and \u003ccode\u003eReport(google::api::servicecontrol::v2::ReportRequest const &)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eMocking for this class can be done using \u003ccode\u003eservicecontrol_v2_mocks::MockServiceControllerConnection\u003c/code\u003e to help create more robust testing suites.\u003c/p\u003e\n"]]],[],null,[]]