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

The EnvironmentsConnection object for EnvironmentsClient. More...

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

Public Member Functions

virtual ~EnvironmentsConnection ()=0
 
virtual Options options ()
 
virtual StreamRange< google::cloud::dialogflow::cx::v3::Environment > ListEnvironments (google::cloud::dialogflow::cx::v3::ListEnvironmentsRequest request)
 
virtual StatusOr< google::cloud::dialogflow::cx::v3::Environment > GetEnvironment (google::cloud::dialogflow::cx::v3::GetEnvironmentRequest const &request)
 
virtual future< StatusOr< google::cloud::dialogflow::cx::v3::Environment > > CreateEnvironment (google::cloud::dialogflow::cx::v3::CreateEnvironmentRequest const &request)
 
virtual future< StatusOr< google::cloud::dialogflow::cx::v3::Environment > > UpdateEnvironment (google::cloud::dialogflow::cx::v3::UpdateEnvironmentRequest const &request)
 
virtual Status DeleteEnvironment (google::cloud::dialogflow::cx::v3::DeleteEnvironmentRequest const &request)
 
virtual StreamRange< google::cloud::dialogflow::cx::v3::Environment > LookupEnvironmentHistory (google::cloud::dialogflow::cx::v3::LookupEnvironmentHistoryRequest request)
 
virtual future< StatusOr< google::cloud::dialogflow::cx::v3::RunContinuousTestResponse > > RunContinuousTest (google::cloud::dialogflow::cx::v3::RunContinuousTestRequest const &request)
 
virtual StreamRange< google::cloud::dialogflow::cx::v3::ContinuousTestResult > ListContinuousTestResults (google::cloud::dialogflow::cx::v3::ListContinuousTestResultsRequest request)
 
virtual future< StatusOr< google::cloud::dialogflow::cx::v3::DeployFlowResponse > > DeployFlow (google::cloud::dialogflow::cx::v3::DeployFlowRequest const &request)
 

Detailed Description

The EnvironmentsConnection object for EnvironmentsClient.

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

To create a concrete instance, see MakeEnvironmentsConnection().

For mocking, see dialogflow_cx_mocks::MockEnvironmentsConnection.

Constructor & Destructor Documentation

◆ ~EnvironmentsConnection()

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

Member Function Documentation

◆ CreateEnvironment()

virtual future< StatusOr< google::cloud::dialogflow::cx::v3::Environment > > google::cloud::dialogflow_cx::EnvironmentsConnection::CreateEnvironment ( google::cloud::dialogflow::cx::v3::CreateEnvironmentRequest const &  request)
virtual

◆ DeleteEnvironment()

virtual Status google::cloud::dialogflow_cx::EnvironmentsConnection::DeleteEnvironment ( google::cloud::dialogflow::cx::v3::DeleteEnvironmentRequest const &  request)
virtual

◆ DeployFlow()

virtual future< StatusOr< google::cloud::dialogflow::cx::v3::DeployFlowResponse > > google::cloud::dialogflow_cx::EnvironmentsConnection::DeployFlow ( google::cloud::dialogflow::cx::v3::DeployFlowRequest const &  request)
virtual

◆ GetEnvironment()

virtual StatusOr< google::cloud::dialogflow::cx::v3::Environment > google::cloud::dialogflow_cx::EnvironmentsConnection::GetEnvironment ( google::cloud::dialogflow::cx::v3::GetEnvironmentRequest const &  request)
virtual

◆ ListContinuousTestResults()

virtual StreamRange< google::cloud::dialogflow::cx::v3::ContinuousTestResult > google::cloud::dialogflow_cx::EnvironmentsConnection::ListContinuousTestResults ( google::cloud::dialogflow::cx::v3::ListContinuousTestResultsRequest  request)
virtual

◆ ListEnvironments()

virtual StreamRange< google::cloud::dialogflow::cx::v3::Environment > google::cloud::dialogflow_cx::EnvironmentsConnection::ListEnvironments ( google::cloud::dialogflow::cx::v3::ListEnvironmentsRequest  request)
virtual

◆ LookupEnvironmentHistory()

virtual StreamRange< google::cloud::dialogflow::cx::v3::Environment > google::cloud::dialogflow_cx::EnvironmentsConnection::LookupEnvironmentHistory ( google::cloud::dialogflow::cx::v3::LookupEnvironmentHistoryRequest  request)
virtual

◆ options()

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

◆ RunContinuousTest()

virtual future< StatusOr< google::cloud::dialogflow::cx::v3::RunContinuousTestResponse > > google::cloud::dialogflow_cx::EnvironmentsConnection::RunContinuousTest ( google::cloud::dialogflow::cx::v3::RunContinuousTestRequest const &  request)
virtual

◆ UpdateEnvironment()

virtual future< StatusOr< google::cloud::dialogflow::cx::v3::Environment > > google::cloud::dialogflow_cx::EnvironmentsConnection::UpdateEnvironment ( google::cloud::dialogflow::cx::v3::UpdateEnvironmentRequest const &  request)
virtual