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 interface, which defines virtual methods for user-facing overload sets within the \u003ccode\u003eAgentsClient\u003c/code\u003e class for versions 2.11.0 to 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAgentsConnection\u003c/code\u003e interface allows users to customize behavior, such as injecting mock objects for testing purposes, by overriding the virtual methods it defines.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version is 2.37.0-rc and there are multiple documented versions of the \u003ccode\u003eAgentsConnection\u003c/code\u003e class, going as far back as version 2.11.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAgentsConnection\u003c/code\u003e interface includes various functions for managing agents, such as \u003ccode\u003eListAgents\u003c/code\u003e, \u003ccode\u003eGetAgent\u003c/code\u003e, \u003ccode\u003eCreateAgent\u003c/code\u003e, \u003ccode\u003eUpdateAgent\u003c/code\u003e, \u003ccode\u003eDeleteAgent\u003c/code\u003e, \u003ccode\u003eExportAgent\u003c/code\u003e, \u003ccode\u003eRestoreAgent\u003c/code\u003e, \u003ccode\u003eValidateAgent\u003c/code\u003e, \u003ccode\u003eGetAgentValidationResult\u003c/code\u003e, \u003ccode\u003eGetGenerativeSettings\u003c/code\u003e, and \u003ccode\u003eUpdateGenerativeSettings\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe current version for which the documentation refers to is 2.21.0, and describes \u003ccode\u003eAgentsConnection\u003c/code\u003e objects for \u003ccode\u003eAgentsClient\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]