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, which is part of the Dialogflow ES C++ library, and is utilized by the `DocumentsClient`."],["The `DocumentsConnection` interface provides virtual methods for user-facing operations in `DocumentsClient`, enabling the injection of custom behaviors, especially useful for testing with mock objects."],["The page lists various versions of the `DocumentsConnection` class, ranging from 2.11.0 up to 2.37.0-rc, with each version linking to its respective documentation."],["The interface includes functions for managing documents such as `ListDocuments`, `GetDocument`, `CreateDocument`, `ImportDocuments`, `DeleteDocument`, `UpdateDocument`, `ReloadDocument`, and `ExportDocument`."],["The page also provides details on how to create a concrete instance of `DocumentsConnection` using `MakeDocumentsConnection()` and how to mock it with `dialogflow_es_mocks::MockDocumentsConnection`."]]],[]]