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-21 UTC."],[[["This webpage details the `ControlServiceConnection` class within the Google Cloud Retail C++ library, focusing on its role in managing connections for `ControlServiceClient`."],["The `ControlServiceConnection` interface allows for custom behavior injection, particularly useful for testing `ControlServiceClient` objects with tools like Google Mock."],["The webpage lists various versions of the library, from 2.11.0 up to the latest release candidate 2.37.0-rc, with a primary focus on the functionality within version 2.22.0."],["Key functions of the `ControlServiceConnection` class are outlined, including `CreateControl`, `DeleteControl`, `UpdateControl`, `GetControl`, and `ListControls`, each with detailed parameter and return type information."],["The `MakeControlServiceConnection()` function is used to create concrete instances of the connection and the `retail_v2_mocks::MockControlServiceConnection` is used for mocking."]]],[]]