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-03-14 UTC."],[[["The page details the `AgentsConnection` object for `AgentsClient` in the Dialogflow CX C++ library, which defines virtual methods corresponding to user-facing overload sets."],["The latest version of the library is 2.37.0-rc, with a history of prior versions listed, including the current page version 2.18.0."],["This `AgentsConnection` interface allows for custom behavior injection during testing, typically by utilizing mock objects."],["The interface includes virtual methods for managing Dialogflow CX agents, like `ListAgents`, `GetAgent`, `CreateAgent`, `UpdateAgent`, `DeleteAgent`, `ExportAgent`, `RestoreAgent`, `ValidateAgent`, and `Get/UpdateGenerativeSettings`."],["The connection objects allow for manipulating `AgentsClient` objects to have custom behavior, and can use mocking via `dialogflow_cx_mocks::MockAgentsConnection` and created via `MakeAgentsConnection()`."]]],[]]