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 a virtual interface for interacting with `DocumentsClient` in the Dialogflow ES API."],["The page provides links to the documentation for various versions of `DocumentsConnection`, ranging from the latest release candidate (2.37.0-rc) down to version 2.11.0."],["`DocumentsConnection` defines virtual methods for various document operations, such as listing, getting, creating, importing, deleting, updating, reloading, and exporting documents."],["Users can use this interface to inject custom behavior, particularly useful in testing scenarios, by using a mock object."],["The `DocumentsConnection` interface includes methods like `ListDocuments`, `GetDocument`, `CreateDocument`, and others, which accept specific request objects and return either a `StatusOr` or a `future\u003cStatusOr\u003e` type."]]],[]]