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` object for `DocumentServiceClient`, which is a crucial interface in managing interactions with the Content Warehouse API."],["The `DocumentServiceConnection` interface provides virtual methods mirroring each user-facing overload set in `DocumentServiceClient`, allowing for custom behavior injection, particularly useful in testing."],["A range of versions for the `DocumentServiceConnection` is listed, from 2.12.0 to 2.37.0-rc (latest), allowing users to select the appropriate version for their project."],["The `DocumentServiceConnection` facilitates the manipulation of documents, including creating, retrieving, updating, deleting, searching, and locking documents, along with the management of ACLs through `FetchAcl` and `SetAcl`."],["Users can create an instance of `DocumentServiceConnection` by using the `MakeDocumentServiceConnection()` function or mock it using `contentwarehouse_v1_mocks::MockDocumentServiceConnection` for testing."]]],[]]