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 within the Google Cloud Discovery Engine v1 C++ library, specifically for version 2.30.0."],["The `DocumentServiceConnection` class defines virtual methods for user-facing operations in `DocumentServiceClient`, enabling custom behavior injection for testing."],["It includes methods for managing documents, such as `GetDocument`, `ListDocuments`, `CreateDocument`, `UpdateDocument`, and `DeleteDocument`, all of which require a request parameter and return a Status or StatusOr."],["There are also methods to modify or delete multiple documents such as `ImportDocuments` and `PurgeDocuments`, which return a StatusOr future or a longrunning Operation, as well as methods to get metadata of multiple documents with `BatchGetDocumentsMetadata`."],["The webpage provides links to documentation for various versions of the library, including the latest release candidate (2.37.0-rc), and also includes links to the `MakeDocumentServiceConnection` function and `MockDocumentServiceConnection` class."]]],[]]