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 webpage details the `DocumentServiceConnection` class, which provides an interface for virtual methods corresponding to each overload set in `DocumentServiceClient`."],["The `DocumentServiceConnection` interface allows users to implement custom behavior in testing scenarios, especially with mock objects, when working with `DocumentServiceClient` objects."],["The latest release candidate version is 2.37.0-rc, with many prior versions such as 2.36.0, 2.35.0, 2.34.0, and down to 2.12.0 being available on this page."],["`DocumentServiceConnection` includes virtual methods for actions like `CreateDocument`, `GetDocument`, `UpdateDocument`, `DeleteDocument`, `SearchDocuments`, `LockDocument`, `FetchAcl`, `SetAcl`, and `GetOperation`."],["The `MakeDocumentServiceConnection()` function is the proper way to create a concrete instance of the class, and `contentwarehouse_v1_mocks::MockDocumentServiceConnection` should be used for mocking."]]],[]]