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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThis document outlines the \u003ccode\u003eAgentsConnection\u003c/code\u003e class within the Dialogflow CX C++ library, which facilitates communication with the \u003ccode\u003eAgentsClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is \u003ccode\u003e2.37.0-rc\u003c/code\u003e, while the current version being documented is \u003ccode\u003e2.23.0\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAgentsConnection\u003c/code\u003e interface provides virtual methods for various agent operations such as listing, creating, updating, deleting, exporting, restoring, validating, and managing generative settings, all of which can be overridden.\u003c/p\u003e\n"],["\u003cp\u003eUsers can implement custom behaviors by injecting their own implementations, including mock objects, for testing purposes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMakeAgentsConnection()\u003c/code\u003e function is used for creating concrete instances of \u003ccode\u003eAgentsConnection\u003c/code\u003e and the \u003ccode\u003edialogflow_cx_mocks::MockAgentsConnection\u003c/code\u003e class for mocking purposes.\u003c/p\u003e\n"]]],[],null,[]]