This interface defines virtual methods for each of the user-facing overload sets in AgentsClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type AgentsClient.
[[["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-04-17 UTC."],[[["The page details the `AgentsConnection` object for `AgentsClient` in the Dialogflow ES C++ library, specifically for version 2.22.1."],["Version 2.37.0-rc is the latest release candidate, with various versions from 2.11.0 up to 2.36.0 also available for `AgentsConnection`."],["This interface allows users to inject custom behavior into `AgentsClient`, such as using a Google Mock object, useful for writing tests."],["`AgentsConnection` defines virtual methods for functions like `GetAgent`, `SetAgent`, `DeleteAgent`, `SearchAgents`, `TrainAgent`, `ExportAgent`, `ImportAgent`, `RestoreAgent`, and `GetValidationResult`."],["Users can create concrete instances of `AgentsConnection` using `MakeAgentsConnection()` and use `dialogflow_es_mocks::MockAgentsConnection` for mocking."]]],[]]