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 provides documentation for the `CompletionServiceConnection` class within the Google Cloud Discovery Engine C++ client library, specifically highlighting version 2.18.0."],["The `CompletionServiceConnection` interface defines virtual methods for the user-facing overload sets found in `CompletionServiceClient`, enabling custom behavior injection during testing."],["The documentation includes links to various historical versions of the library, ranging from 2.37.0-rc (latest) to 2.15.1, allowing developers to access the appropriate version."],["The page provides information on how to create a concrete instance of the `CompletionServiceConnection` using `MakeCompletionServiceConnection()` and how to use `discoveryengine_v1_mocks::MockCompletionServiceConnection` for mocking purposes."],["It also documents the `options()` and `CompleteQuery()` functions included in this interface, detailing their parameters, and return values."]]],[]]