Class DeploymentsConnection (2.23.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
Type Description
Options

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

Parameter
Name Description
request google::cloud::dialogflow::cx::v3::ListDeploymentsRequest
Returns
Type Description
StreamRange< google::cloud::dialogflow::cx::v3::Deployment >

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

Parameter
Name Description
request google::cloud::dialogflow::cx::v3::GetDeploymentRequest const &
Returns
Type Description
StatusOr< google::cloud::dialogflow::cx::v3::Deployment >