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::IntentsConnection Class Referenceabstract

The IntentsConnection object for IntentsClient. More...

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

Public Member Functions

virtual ~IntentsConnection ()=0
 
virtual Options options ()
 
virtual StreamRange< google::cloud::dialogflow::cx::v3::Intent > ListIntents (google::cloud::dialogflow::cx::v3::ListIntentsRequest request)
 
virtual StatusOr< google::cloud::dialogflow::cx::v3::Intent > GetIntent (google::cloud::dialogflow::cx::v3::GetIntentRequest const &request)
 
virtual StatusOr< google::cloud::dialogflow::cx::v3::Intent > CreateIntent (google::cloud::dialogflow::cx::v3::CreateIntentRequest const &request)
 
virtual StatusOr< google::cloud::dialogflow::cx::v3::Intent > UpdateIntent (google::cloud::dialogflow::cx::v3::UpdateIntentRequest const &request)
 
virtual Status DeleteIntent (google::cloud::dialogflow::cx::v3::DeleteIntentRequest const &request)
 

Detailed Description

The IntentsConnection object for IntentsClient.

This interface defines virtual methods for each of the user-facing overload sets in IntentsClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type IntentsClient.

To create a concrete instance, see MakeIntentsConnection().

For mocking, see dialogflow_cx_mocks::MockIntentsConnection.

Constructor & Destructor Documentation

◆ ~IntentsConnection()

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

Member Function Documentation

◆ CreateIntent()

virtual StatusOr< google::cloud::dialogflow::cx::v3::Intent > google::cloud::dialogflow_cx::IntentsConnection::CreateIntent ( google::cloud::dialogflow::cx::v3::CreateIntentRequest const &  request)
virtual

◆ DeleteIntent()

virtual Status google::cloud::dialogflow_cx::IntentsConnection::DeleteIntent ( google::cloud::dialogflow::cx::v3::DeleteIntentRequest const &  request)
virtual

◆ GetIntent()

virtual StatusOr< google::cloud::dialogflow::cx::v3::Intent > google::cloud::dialogflow_cx::IntentsConnection::GetIntent ( google::cloud::dialogflow::cx::v3::GetIntentRequest const &  request)
virtual

◆ ListIntents()

virtual StreamRange< google::cloud::dialogflow::cx::v3::Intent > google::cloud::dialogflow_cx::IntentsConnection::ListIntents ( google::cloud::dialogflow::cx::v3::ListIntentsRequest  request)
virtual

◆ options()

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

◆ UpdateIntent()

virtual StatusOr< google::cloud::dialogflow::cx::v3::Intent > google::cloud::dialogflow_cx::IntentsConnection::UpdateIntent ( google::cloud::dialogflow::cx::v3::UpdateIntentRequest const &  request)
virtual