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-03-14 UTC."],[[["This page details the `DocumentServiceConnection` interface for the `DocumentServiceClient`, enabling the injection of custom behavior for testing."],["The latest version of the `DocumentServiceConnection` is 2.37.0-rc, and the page lists versions all the way down to 2.15.1 for the C++ library."],["`DocumentServiceConnection` provides virtual methods such as `GetDocument`, `ListDocuments`, `CreateDocument`, `UpdateDocument`, `DeleteDocument`, `ImportDocuments`, and `PurgeDocuments`, offering a comprehensive suite of document management operations."],["The page provides information on how to create a concrete instance of the DocumentServiceConnection using the `MakeDocumentServiceConnection()` function."],["For mocking purposes, the class `discoveryengine_v1_mocks::MockDocumentServiceConnection` can be used."]]],[]]