Class DeploymentsConnection (2.21.0)

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.

Functions

virtual options()

Returns
TypeDescription
Options

virtual ListDeployments(google::cloud::dialogflow::cx::v3::ListDeploymentsRequest)

Parameter
NameDescription
request google::cloud::dialogflow::cx::v3::ListDeploymentsRequest
Returns
TypeDescription
StreamRange< google::cloud::dialogflow::cx::v3::Deployment >

virtual GetDeployment(google::cloud::dialogflow::cx::v3::GetDeploymentRequest const &)

Parameter
NameDescription
request google::cloud::dialogflow::cx::v3::GetDeploymentRequest const &
Returns
TypeDescription
StatusOr< google::cloud::dialogflow::cx::v3::Deployment >