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, which provides virtual methods for each user-facing overload in `DocumentServiceClient`."],["The `DocumentServiceConnection` interface allows users to inject custom behaviors into tests utilizing `DocumentServiceClient`, such as with a Google Mock object."],["The page lists various functions available through `DocumentServiceConnection`, including `GetDocument`, `ListDocuments`, `CreateDocument`, `UpdateDocument`, `DeleteDocument`, `ImportDocuments`, and `PurgeDocuments`."],["Multiple versions of the `DocumentServiceConnection` class are available, ranging from version 2.15.1 to 2.37.0-rc (latest)."],["The `DocumentServiceConnection` can be instanciated with `MakeDocumentServiceConnection()` and can be mocked using `discoveryengine_v1_mocks::MockDocumentServiceConnection`."]]],[]]