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-03-14 UTC."],[[["This webpage details the `CompletionServiceConnection` object for `CompletionServiceClient`, which is used in Google Cloud Retail v2."],["The `CompletionServiceConnection` interface provides virtual methods that mirror the user-facing overload sets in `CompletionServiceClient`, enabling custom behavior injection during testing."],["The latest version of the API available on this page is 2.37.0-rc, with multiple older versions available all the way back to 2.11.0."],["Key functions of this interface include `options()`, `CompleteQuery()`, and `ImportCompletionData()`, each with specific parameters and return types."],["Users can create concrete instances using `MakeCompletionServiceConnection()`, and mock instances with `retail_v2_mocks::MockCompletionServiceConnection`."]]],[]]