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 webpage details the \u003ccode\u003eAgentsConnection\u003c/code\u003e class for the Dialogflow CX API, which defines virtual methods that correspond to the user-facing methods found in the \u003ccode\u003eAgentsClient\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe latest release for Dialogflow CX is version 2.37.0-rc, with a range of previous versions from 2.36.0 down to 2.11.0 also listed on the page.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAgentsConnection\u003c/code\u003e interface allows for custom behavior injection, particularly useful for creating mock objects in testing scenarios.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists the \u003ccode\u003eAgentsConnection\u003c/code\u003e virtual functions, including operations like listing, getting, creating, updating, deleting, exporting, restoring, and validating agents, along with the request parameters and return types for each function.\u003c/p\u003e\n"],["\u003cp\u003eTo create a real instance of this class, you can use the function \u003ccode\u003eMakeAgentsConnection()\u003c/code\u003e or you can use \u003ccode\u003eMockAgentsConnection\u003c/code\u003e when working with mock.\u003c/p\u003e\n"]]],[],null,[]]