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 for the Content Warehouse API, which acts as an interface defining virtual methods for user-facing overload sets in `DocumentServiceClient`."],["The `DocumentServiceConnection` enables the injection of custom behaviors, such as with a Google Mock object, which is useful for writing tests that involve the use of `DocumentServiceClient` objects."],["The latest version of this resource is `2.37.0-rc`, with a list of other versions going as far back as `2.12.0`."],["Key functions included in the `DocumentServiceConnection` interface are: `CreateDocument`, `GetDocument`, `UpdateDocument`, `DeleteDocument`, `SearchDocuments`, `LockDocument`, `FetchAcl`, `SetAcl`, and `GetOperation`."],["A concrete instance of `DocumentServiceConnection` can be created using `MakeDocumentServiceConnection()`, and `contentwarehouse_v1_mocks::MockDocumentServiceConnection` can be used for mocking."]]],[]]