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 details the `CompletionServiceConnection` object for `CompletionServiceClient`, which allows users to add custom behaviors when testing `CompletionServiceClient` objects."],["The page provides links to documentation for various versions of the API, ranging from 2.15.1 to 2.37.0-rc, allowing access to prior versions of the documentation."],["`CompletionServiceConnection` offers virtual methods for different operations such as `CompleteQuery`, `ImportSuggestionDenyListEntries`, `PurgeSuggestionDenyListEntries`, `ImportCompletionSuggestions`, and `PurgeCompletionSuggestions`."],["The `MakeCompletionServiceConnection()` function is provided to create concrete instances of `CompletionServiceConnection`, while `discoveryengine_v1_mocks::MockCompletionServiceConnection` is provided for mocking purposes."],["The documentation includes detailed information about the parameters and return types of each virtual method, like the different variations of `ImportSuggestionDenyListEntries` and `PurgeSuggestionDenyListEntries`."]]],[]]