This interface defines virtual methods for each of the user-facing overload sets in ControlServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type ControlServiceClient.
[[["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-14 UTC."],[[["The webpage provides documentation for the `ControlServiceConnection` class within the Google Cloud Retail v2 C++ library, with versions ranging from 2.11.0 to the latest release candidate 2.37.0-rc."],["`ControlServiceConnection` defines virtual methods that mirror the user-facing methods found in `ControlServiceClient`, facilitating the injection of custom behavior, such as mock objects, for testing purposes."],["The interface allows users to perform operations such as creating, deleting, updating, getting, and listing controls, by providing requests to the respective functions."],["A concrete instance of the `ControlServiceConnection` can be created using the `MakeControlServiceConnection()` function, while the `MockControlServiceConnection` class is available for mocking."],["Each function within the `ControlServiceConnection` class, such as `CreateControl`, `DeleteControl`, `UpdateControl`, `GetControl`, and `ListControls`, takes a specific request object and returns either a status or a status with a control object."]]],[]]