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\u003eThe \u003ccode\u003eAgentsConnection\u003c/code\u003e object interfaces with the \u003ccode\u003eAgentsClient\u003c/code\u003e to allow for custom behavior injection, primarily used in testing via mocking.\u003c/p\u003e\n"],["\u003cp\u003eThis page provides documentation for various versions of the \u003ccode\u003eAgentsConnection\u003c/code\u003e object, with the latest version being \u003ccode\u003e2.37.0-rc\u003c/code\u003e, and a variety of previous versions ranging down to \u003ccode\u003e2.11.0\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAgentsConnection\u003c/code\u003e provides virtual methods for managing Dialogflow CX agents, including creating, retrieving, updating, deleting, exporting, restoring, and validating them.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAgentsConnection\u003c/code\u003e supports asynchronous operations such as \u003ccode\u003eExportAgent\u003c/code\u003e and \u003ccode\u003eRestoreAgent\u003c/code\u003e, which use \u003ccode\u003efuture\u003c/code\u003e objects to represent the result.\u003c/p\u003e\n"],["\u003cp\u003eThe object \u003ccode\u003eAgentsConnection\u003c/code\u003e allows to get and update the \u003ccode\u003eGenerativeSettings\u003c/code\u003e, which is useful for the generative AI in Dialogflow CX.\u003c/p\u003e\n"]]],[],null,[]]