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` object, which facilitates interaction with the `DocumentServiceClient` in version 2.19.0 of the Google Cloud Discovery Engine C++ client library."],["It offers an interface with virtual methods that mirror the user-facing overload sets found within `DocumentServiceClient`, allowing for customized behaviors during testing."],["The page includes the ability to access the latest release candidate (2.37.0-rc) as well as a listing of previous versions of the `DocumentServiceConnection`, going back to version 2.15.1."],["There are functions available for various document operations like `GetDocument`, `ListDocuments`, `CreateDocument`, `UpdateDocument`, `DeleteDocument`, `ImportDocuments`, and `PurgeDocuments`, each with specific request parameters and return types."],["The ability to create a concrete instance of the connection is found with `MakeDocumentServiceConnection()` and for mocking, `discoveryengine_v1_mocks::MockDocumentServiceConnection` is recommended."]]],[]]