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."],[[["The latest release candidate version is 2.37.0-rc, with the most recent stable release being 2.36.0."],["This page provides documentation for the `CompletionServiceConnection` class, which is used in conjunction with the `CompletionServiceClient` for managing completion services."],["`CompletionServiceConnection` offers virtual methods that mirror the user-facing overloads in `CompletionServiceClient`, enabling custom behavior in testing scenarios."],["The `CompletionServiceConnection` class also includes the `CompleteQuery` function which requires `google::cloud::discoveryengine::v1::CompleteQueryRequest` as an argument and returns `StatusOr\u003c google::cloud::discoveryengine::v1::CompleteQueryResponse \u003e`."],["A concrete instance of `CompletionServiceConnection` can be made by using `MakeCompletionServiceConnection()`, while mocks can be created with `discoveryengine_v1_mocks::MockCompletionServiceConnection`."]]],[]]