This interface defines virtual methods for each of the user-facing overload sets in CompletionServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type CompletionServiceClient.
[[["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-04-09 UTC."],[[["This document details the `CompletionServiceConnection` class within the Google Cloud Retail v2 C++ library, providing an interface for interacting with the `CompletionServiceClient`."],["The `CompletionServiceConnection` class enables the injection of custom behavior into tests using `CompletionServiceClient` objects, particularly through the use of mocking."],["It outlines the virtual methods available within `CompletionServiceConnection`, including functions for options, `CompleteQuery`, `ImportCompletionData`, `ListOperations`, and `GetOperation`."],["The documentation provides links to the latest version (2.37.0-rc) and the currently viewed version (2.36.0), as well as numerous historical versions, for reference and usage of `CompletionServiceConnection`."],["Concrete instances of `CompletionServiceConnection` are created using the `MakeCompletionServiceConnection()` function, and the use of `retail_v2_mocks::MockCompletionServiceConnection` is explained for implementing mocking."]]],[]]