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-08-14 UTC."],[[["\u003cp\u003eThe latest version available for \u003ccode\u003eAgentsConnection\u003c/code\u003e in the Dialogflow ES C++ library is 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAgentsConnection\u003c/code\u003e object interface defines virtual methods for the \u003ccode\u003eAgentsClient\u003c/code\u003e class, enabling custom behavior injection for testing purposes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAgentsConnection\u003c/code\u003e object includes methods to manage agents like \u003ccode\u003eGetAgent\u003c/code\u003e, \u003ccode\u003eSetAgent\u003c/code\u003e, \u003ccode\u003eDeleteAgent\u003c/code\u003e, \u003ccode\u003eSearchAgents\u003c/code\u003e, \u003ccode\u003eTrainAgent\u003c/code\u003e, \u003ccode\u003eExportAgent\u003c/code\u003e, \u003ccode\u003eImportAgent\u003c/code\u003e, and \u003ccode\u003eRestoreAgent\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe interface also provides functions for handling operations and locations such as \u003ccode\u003eListOperations\u003c/code\u003e, \u003ccode\u003eGetOperation\u003c/code\u003e, \u003ccode\u003eCancelOperation\u003c/code\u003e, \u003ccode\u003eListLocations\u003c/code\u003e, and \u003ccode\u003eGetLocation\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere is support to mock this class through \u003ccode\u003edialogflow_es_mocks::MockAgentsConnection\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]