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-05-07 UTC."],[[["This webpage details the `ControlServiceConnection` object, which facilitates interaction with the `ControlServiceClient` for the Google Cloud Retail API."],["The content provides access to documentation for a range of versions, from the latest release candidate (2.37.0-rc) down to version 2.11.0."],["`ControlServiceConnection` offers virtual methods, including `CreateControl`, `DeleteControl`, `UpdateControl`, `GetControl`, and `ListControls`, enabling custom behavior injection, particularly for testing."],["You can create a real instance of the `ControlServiceConnection` via `MakeControlServiceConnection()` or use `MockControlServiceConnection` for mocking."],["Each method (Create, Delete, Update, Get, List) is detailed, including the request type, and the return type, which is a Status, StatusOr\u003c Control \u003e, or StreamRange\u003c Control \u003e depending on the method."]]],[]]