This interface defines virtual methods for each of the user-facing overload sets in DocumentsClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type DocumentsClient.
[[["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 `DocumentsConnection` object for `DocumentsClient` in the Google Cloud Dialogflow ES C++ library, providing an interface for interacting with documents."],["The content lists various versions of the Dialogflow ES C++ library, ranging from version 2.11.0 to the latest release candidate 2.37.0-rc, with each version having its respective documentation link."],["`DocumentsConnection` is designed to facilitate the implementation of custom behavior and testing via dependency injection, and it can be instantiated using the `MakeDocumentsConnection()` method."],["The page outlines the virtual functions available in the `DocumentsConnection` interface, including methods for listing, getting, creating, importing, deleting, updating, reloading, and exporting documents, each with specific request parameters and return types."],["For testing purposes, the page refers to the `MockDocumentsConnection` class, offering a way to simulate document interactions in test environments."]]],[]]