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 for the Google Cloud Retail API's `CompletionServiceClient`."],["The `CompletionServiceConnection` class defines virtual methods for user-facing overload sets within `CompletionServiceClient`, enabling custom behavior injection for testing."],["The latest version of the class is `2.37.0-rc`, with a list of prior versions going as far back as `2.11.0` that can be referenced on the page."],["`MakeCompletionServiceConnection()` can be used to create an instance of this concrete class, and `MockCompletionServiceConnection` is available for mocking purposes."],["Key functions include `options()`, `CompleteQuery`, and `ImportCompletionData`, each offering specific functionalities and return types related to query completion and data importation."]]],[]]