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` interface, which defines virtual methods for the `DocumentServiceClient` class in the Google Cloud Discovery Engine v1 C++ library."],["The `DocumentServiceConnection` allows users to inject custom behavior, such as with a Google Mock object, primarily for testing purposes when using `DocumentServiceClient`."],["Concrete instances of `DocumentServiceConnection` can be created using the `MakeDocumentServiceConnection()` function."],["The page lists various versions of the API, ranging from 2.15.1 to 2.37.0-rc, showing the evolution of this interface over time."],["The `DocumentServiceConnection` interface includes methods for document management such as `GetDocument`, `ListDocuments`, `CreateDocument`, `UpdateDocument`, `DeleteDocument`, `ImportDocuments`, and `PurgeDocuments`."]]],[]]