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-07 UTC."],[[["This webpage provides documentation for the `CompletionServiceConnection` class within the Google Cloud Discovery Engine C++ library."],["The latest release candidate version is `2.37.0-rc`, with numerous prior versions also documented, down to version `2.15.1`."],["`CompletionServiceConnection` defines the interface for `CompletionServiceClient`, enabling the injection of custom behaviors, useful for testing."],["The documentation describes virtual methods within the class, such as `options()` and `CompleteQuery()`, detailing their parameters and return types."],["The `MakeCompletionServiceConnection()` function is used for creating concrete instances, and `MockCompletionServiceConnection` is used for mocking."]]],[]]