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` 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."]]],[]]