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-08-14 UTC."],[[["\u003cp\u003eThe latest version available for \u003ccode\u003eCompletionServiceConnection\u003c/code\u003e is 2.37.0-rc, and there are multiple previous versions available from 2.36.0 down to 2.15.1.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCompletionServiceConnection\u003c/code\u003e defines virtual methods for user-facing overload sets in \u003ccode\u003eCompletionServiceClient\u003c/code\u003e, enabling custom behavior injection for testing.\u003c/p\u003e\n"],["\u003cp\u003eThis object provides functions for query completion, including \u003ccode\u003eCompleteQuery\u003c/code\u003e, \u003ccode\u003eImportSuggestionDenyListEntries\u003c/code\u003e, \u003ccode\u003ePurgeSuggestionDenyListEntries\u003c/code\u003e, \u003ccode\u003eImportCompletionSuggestions\u003c/code\u003e, and \u003ccode\u003ePurgeCompletionSuggestions\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eMethods such as \u003ccode\u003eListOperations\u003c/code\u003e, \u003ccode\u003eGetOperation\u003c/code\u003e, and \u003ccode\u003eCancelOperation\u003c/code\u003e are available for managing long-running operations related to this object.\u003c/p\u003e\n"],["\u003cp\u003eFor creating an instance of this connection, you can use the \u003ccode\u003eMakeCompletionServiceConnection()\u003c/code\u003e function, and for mocking, utilize \u003ccode\u003ediscoveryengine_v1_mocks::MockCompletionServiceConnection\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]