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-21 UTC."],[[["This webpage details the `CompletionServiceConnection` object, which is a crucial component for interacting with the `CompletionServiceClient` in the Google Cloud Discovery Engine v1 API."],["The `CompletionServiceConnection` class allows developers to define virtual methods corresponding to the user-facing overload sets within `CompletionServiceClient`, enabling the injection of custom behavior for testing and other purposes."],["This document lists all available versions of the `CompletionServiceConnection`, going as far back as 2.15.1 and going up to the latest version of 2.37.0-rc, as well as version 2.35.0, which is the current version of this doc."],["Key functionalities provided by this class include completing queries, managing suggestion deny list entries, handling completion suggestions, and interacting with long-running operations."],["Developers can create concrete instances using `MakeCompletionServiceConnection()` and utilize `discoveryengine_v1_mocks::MockCompletionServiceConnection` for mocking within testing environments."]]],[]]