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-21 UTC."],[[["The webpage provides documentation for the `DocumentServiceConnection` class within the Google Cloud Content Warehouse C++ library, with the latest release candidate version being 2.37.0-rc."],["It outlines the different versions of the `DocumentServiceConnection` class, ranging from version 2.12.0 to the most recent 2.37.0-rc."],["The `DocumentServiceConnection` class interface contains virtual methods mirroring those found in `DocumentServiceClient`, which enables the injection of custom behaviors, such as with mock objects, for testing."],["The documented virtual functions within `DocumentServiceConnection` include actions like `CreateDocument`, `GetDocument`, `UpdateDocument`, `DeleteDocument`, `SearchDocuments`, `LockDocument`, `FetchAcl`, and `SetAcl`, each with their respective request and return types."],["The page explains how to create an instance of `DocumentServiceConnection` or how to use `MockDocumentServiceConnection` for mocking."]]],[]]