Dialogflow API C++ Client 2.13.0
A C++ Client Library for the Dialogflow API
Loading...
Searching...
No Matches
Public Member Functions | List of all members
google::cloud::dialogflow_cx::AgentsConnection Class Referenceabstract

The AgentsConnection object for AgentsClient. More...

#include <google/cloud/dialogflow_cx/agents_connection.h>

Public Member Functions

virtual ~AgentsConnection ()=0
 
virtual Options options ()
 
virtual StreamRange< google::cloud::dialogflow::cx::v3::Agent > ListAgents (google::cloud::dialogflow::cx::v3::ListAgentsRequest request)
 
virtual StatusOr< google::cloud::dialogflow::cx::v3::Agent > GetAgent (google::cloud::dialogflow::cx::v3::GetAgentRequest const &request)
 
virtual StatusOr< google::cloud::dialogflow::cx::v3::Agent > CreateAgent (google::cloud::dialogflow::cx::v3::CreateAgentRequest const &request)
 
virtual StatusOr< google::cloud::dialogflow::cx::v3::Agent > UpdateAgent (google::cloud::dialogflow::cx::v3::UpdateAgentRequest const &request)
 
virtual Status DeleteAgent (google::cloud::dialogflow::cx::v3::DeleteAgentRequest const &request)
 
virtual future< StatusOr< google::cloud::dialogflow::cx::v3::ExportAgentResponse > > ExportAgent (google::cloud::dialogflow::cx::v3::ExportAgentRequest const &request)
 
virtual future< StatusOr< google::protobuf::Struct > > RestoreAgent (google::cloud::dialogflow::cx::v3::RestoreAgentRequest const &request)
 
virtual StatusOr< google::cloud::dialogflow::cx::v3::AgentValidationResult > ValidateAgent (google::cloud::dialogflow::cx::v3::ValidateAgentRequest const &request)
 
virtual StatusOr< google::cloud::dialogflow::cx::v3::AgentValidationResult > GetAgentValidationResult (google::cloud::dialogflow::cx::v3::GetAgentValidationResultRequest const &request)
 

Detailed Description

The AgentsConnection object for AgentsClient.

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.

To create a concrete instance, see MakeAgentsConnection().

For mocking, see dialogflow_cx_mocks::MockAgentsConnection.

Constructor & Destructor Documentation

◆ ~AgentsConnection()

virtual google::cloud::dialogflow_cx::AgentsConnection::~AgentsConnection ( )
pure virtual

Member Function Documentation

◆ CreateAgent()

virtual StatusOr< google::cloud::dialogflow::cx::v3::Agent > google::cloud::dialogflow_cx::AgentsConnection::CreateAgent ( google::cloud::dialogflow::cx::v3::CreateAgentRequest const &  request)
virtual

◆ DeleteAgent()

virtual Status google::cloud::dialogflow_cx::AgentsConnection::DeleteAgent ( google::cloud::dialogflow::cx::v3::DeleteAgentRequest const &  request)
virtual

◆ ExportAgent()

virtual future< StatusOr< google::cloud::dialogflow::cx::v3::ExportAgentResponse > > google::cloud::dialogflow_cx::AgentsConnection::ExportAgent ( google::cloud::dialogflow::cx::v3::ExportAgentRequest const &  request)
virtual

◆ GetAgent()

virtual StatusOr< google::cloud::dialogflow::cx::v3::Agent > google::cloud::dialogflow_cx::AgentsConnection::GetAgent ( google::cloud::dialogflow::cx::v3::GetAgentRequest const &  request)
virtual

◆ GetAgentValidationResult()

virtual StatusOr< google::cloud::dialogflow::cx::v3::AgentValidationResult > google::cloud::dialogflow_cx::AgentsConnection::GetAgentValidationResult ( google::cloud::dialogflow::cx::v3::GetAgentValidationResultRequest const &  request)
virtual

◆ ListAgents()

virtual StreamRange< google::cloud::dialogflow::cx::v3::Agent > google::cloud::dialogflow_cx::AgentsConnection::ListAgents ( google::cloud::dialogflow::cx::v3::ListAgentsRequest  request)
virtual

◆ options()

virtual Options google::cloud::dialogflow_cx::AgentsConnection::options ( )
inlinevirtual

◆ RestoreAgent()

virtual future< StatusOr< google::protobuf::Struct > > google::cloud::dialogflow_cx::AgentsConnection::RestoreAgent ( google::cloud::dialogflow::cx::v3::RestoreAgentRequest const &  request)
virtual

◆ UpdateAgent()

virtual StatusOr< google::cloud::dialogflow::cx::v3::Agent > google::cloud::dialogflow_cx::AgentsConnection::UpdateAgent ( google::cloud::dialogflow::cx::v3::UpdateAgentRequest const &  request)
virtual

◆ ValidateAgent()

virtual StatusOr< google::cloud::dialogflow::cx::v3::AgentValidationResult > google::cloud::dialogflow_cx::AgentsConnection::ValidateAgent ( google::cloud::dialogflow::cx::v3::ValidateAgentRequest const &  request)
virtual