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

The DeploymentsConnection object for DeploymentsClient. More...

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

Public Member Functions

virtual ~DeploymentsConnection ()=0
 
virtual Options options ()
 
virtual StreamRange< google::cloud::dialogflow::cx::v3::Deployment > ListDeployments (google::cloud::dialogflow::cx::v3::ListDeploymentsRequest request)
 
virtual StatusOr< google::cloud::dialogflow::cx::v3::Deployment > GetDeployment (google::cloud::dialogflow::cx::v3::GetDeploymentRequest const &request)
 

Detailed Description

The DeploymentsConnection object for DeploymentsClient.

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

To create a concrete instance, see MakeDeploymentsConnection().

For mocking, see dialogflow_cx_mocks::MockDeploymentsConnection.

Constructor & Destructor Documentation

◆ ~DeploymentsConnection()

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

Member Function Documentation

◆ GetDeployment()

virtual StatusOr< google::cloud::dialogflow::cx::v3::Deployment > google::cloud::dialogflow_cx::DeploymentsConnection::GetDeployment ( google::cloud::dialogflow::cx::v3::GetDeploymentRequest const &  request)
virtual

◆ ListDeployments()

virtual StreamRange< google::cloud::dialogflow::cx::v3::Deployment > google::cloud::dialogflow_cx::DeploymentsConnection::ListDeployments ( google::cloud::dialogflow::cx::v3::ListDeploymentsRequest  request)
virtual

◆ options()

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