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` class, which facilitates interactions with the `DocumentServiceClient` within the Google Cloud Content Warehouse API, offering a range of functionalities."],["The `DocumentServiceConnection` interface includes virtual methods for operations such as creating, retrieving, updating, deleting, locking, and searching documents, as well as setting and fetching Access Control Lists (ACLs)."],["Version 2.37.0-rc is the latest version available for the `DocumentServiceConnection`, and other versions ranging from 2.36.0 down to 2.12.0 are also accessible."],["The `DocumentServiceConnection` class allows users to inject custom behavior, particularly in testing environments, by providing the ability to work with mock objects."],["The page provides links and descriptions to methods such as `MakeDocumentServiceConnection()` for creating a concrete instance and `contentwarehouse_v1_mocks::MockDocumentServiceConnection` for mocking purposes, in addition to a table that list the methods `options()`, `CreateDocument()`, `GetDocument()`, and more, with their respective paramaters and return values."]]],[]]