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-07-30 UTC."],[[["This document details the `AgentsConnection` object for `AgentsClient` in the Google Cloud Dialogflow ES C++ library, which is available in multiple versions ranging from 2.11.0 to the latest release candidate 2.37.0-rc."],["The `AgentsConnection` interface defines virtual methods that correspond to the user-facing overload sets within `AgentsClient`, allowing for custom behavior injection during testing."],["Key functions include methods to manage agents, such as `GetAgent`, `SetAgent`, `DeleteAgent`, `SearchAgents`, `TrainAgent`, `ExportAgent`, `ImportAgent`, `RestoreAgent`, and `GetValidationResult`, each with specified request and return types."],["To utilize a concrete instance of `AgentsConnection`, one can use the `MakeAgentsConnection()` function, and for testing purposes, one can mock with the `dialogflow_es_mocks::MockAgentsConnection` object."]]],[]]