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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["This webpage details the `CompletionServiceConnection` class within the Google Cloud Retail v2 C++ library, outlining its role in defining virtual methods for the `CompletionServiceClient`."],["The latest version available is 2.37.0-rc, with a comprehensive list of previous versions down to 2.11.0 also provided, and each version links to their respective documentation."],["The `CompletionServiceConnection` class facilitates custom behavior injection, particularly for testing purposes, by allowing the use of mock objects."],["Key functions of `CompletionServiceConnection` include `options()`, `CompleteQuery()`, and `ImportCompletionData()`, each handling specific request and response types."],["`MakeCompletionServiceConnection()` allows for the creation of concrete instances, while for mocking purposes, `retail_v2_mocks::MockCompletionServiceConnection` is recommended."]]],[]]