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-05 UTC."],[[["This webpage details the `CompletionServiceConnection` class, which facilitates custom behavior injection for testing `CompletionServiceClient` objects."],["The content provides links to documentation for numerous versions of the `CompletionServiceConnection`, from the latest release candidate down to version 2.15.1."],["The `CompletionServiceConnection` interface includes virtual methods for managing completion queries, suggestions, and operations, such as `CompleteQuery`, `ImportSuggestionDenyListEntries`, `PurgeSuggestionDenyListEntries`, `ImportCompletionSuggestions`, `PurgeCompletionSuggestions`, `ListOperations`, `GetOperation`, and `CancelOperation`."],["The webpage provides information on creating concrete instances of `CompletionServiceConnection` through the `MakeCompletionServiceConnection()` function, and how to create mock versions through the `discoveryengine_v1_mocks::MockCompletionServiceConnection` class."],["Each virtual method within the interface has its parameters, names, and their respective return types outlined in the documentation, offering comprehensive detail."]]],[]]