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 within the Google Cloud Discovery Engine v1 C++ library, specifically version 2.15.1, which is the current version for this page."],["The `DocumentServiceConnection` class defines virtual methods corresponding to the user-facing overload sets in `DocumentServiceClient`, allowing users to inject custom behavior for testing."],["The page lists numerous prior versions of the software, ranging from 2.37.0-rc to 2.15.1, for reference and accessing historical data."],["The `DocumentServiceConnection` class provides methods to interact with documents, including `GetDocument`, `ListDocuments`, `CreateDocument`, `UpdateDocument`, `DeleteDocument`, `ImportDocuments`, and `PurgeDocuments`, each with their own request types and return values."],["There is a `MakeDocumentServiceConnection()` function for concrete implementation, and `MockDocumentServiceConnection` for mocking purposes, in addition to an options() function."]]],[]]