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 webpage details the `CompletionServiceConnection` object, which facilitates custom behavior injection for testing `CompletionServiceClient` objects."],["It offers a range of versions, from 2.15.1 to the latest release candidate 2.37.0-rc, along with their respective documentation links."],["`MakeCompletionServiceConnection()` is provided for the creation of concrete `CompletionServiceConnection` instances."],["The page lists functions for the object, including `CompleteQuery`, `ImportSuggestionDenyListEntries`, and `PurgeSuggestionDenyListEntries`, detailing their parameters and return types."],["`discoveryengine_v1_mocks::MockCompletionServiceConnection` can be found on this page, to allow for mocking when testing."]]],[]]