This interface defines virtual methods for each of the user-facing overload sets in DocumentServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type DocumentServiceClient.
[[["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 \u003ccode\u003eDocumentServiceConnection\u003c/code\u003e object provides virtual methods for each user-facing overload set found in \u003ccode\u003eDocumentServiceClient\u003c/code\u003e, enabling custom behavior injection during testing.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eDocumentServiceConnection\u003c/code\u003e is \u003ccode\u003e2.37.0-rc\u003c/code\u003e, with multiple previous versions ranging from \u003ccode\u003e2.36.0\u003c/code\u003e to \u003ccode\u003e2.15.1\u003c/code\u003e that are available to view.\u003c/p\u003e\n"],["\u003cp\u003eIt supports various operations such as \u003ccode\u003eGetDocument\u003c/code\u003e, \u003ccode\u003eListDocuments\u003c/code\u003e, \u003ccode\u003eCreateDocument\u003c/code\u003e, \u003ccode\u003eUpdateDocument\u003c/code\u003e, \u003ccode\u003eDeleteDocument\u003c/code\u003e, \u003ccode\u003eImportDocuments\u003c/code\u003e, and \u003ccode\u003ePurgeDocuments\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eYou can create a real instance using \u003ccode\u003eMakeDocumentServiceConnection()\u003c/code\u003e and use \u003ccode\u003ediscoveryengine_v1_mocks::MockDocumentServiceConnection\u003c/code\u003e for mocking.\u003c/p\u003e\n"],["\u003cp\u003eThe interface also provides methods to manage long running operations such as \u003ccode\u003eListOperations\u003c/code\u003e, \u003ccode\u003eGetOperation\u003c/code\u003e, and \u003ccode\u003eCancelOperation\u003c/code\u003e to handle asynchronous tasks.\u003c/p\u003e\n"]]],[],null,[]]