Class FlowsConnection (2.29.0-rc)

The FlowsConnection object for FlowsClient.

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

To create a concrete instance, see MakeFlowsConnection().

For mocking, see dialogflow_cx_mocks::MockFlowsConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual CreateFlow(google::cloud::dialogflow::cx::v3::CreateFlowRequest const &)

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

virtual DeleteFlow(google::cloud::dialogflow::cx::v3::DeleteFlowRequest const &)

Parameter
Name Description
request google::cloud::dialogflow::cx::v3::DeleteFlowRequest const &
Returns
Type Description
Status

virtual ListFlows(google::cloud::dialogflow::cx::v3::ListFlowsRequest)

Parameter
Name Description
request google::cloud::dialogflow::cx::v3::ListFlowsRequest
Returns
Type Description
StreamRange< google::cloud::dialogflow::cx::v3::Flow >

virtual GetFlow(google::cloud::dialogflow::cx::v3::GetFlowRequest const &)

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

virtual UpdateFlow(google::cloud::dialogflow::cx::v3::UpdateFlowRequest const &)

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

virtual TrainFlow(google::cloud::dialogflow::cx::v3::TrainFlowRequest const &)

Parameter
Name Description
request google::cloud::dialogflow::cx::v3::TrainFlowRequest const &
Returns
Type Description
future< StatusOr< google::protobuf::Struct > >

virtual TrainFlow(NoAwaitTag, google::cloud::dialogflow::cx::v3::TrainFlowRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::dialogflow::cx::v3::TrainFlowRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual TrainFlow(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::protobuf::Struct > >

virtual ValidateFlow(google::cloud::dialogflow::cx::v3::ValidateFlowRequest const &)

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

virtual GetFlowValidationResult(google::cloud::dialogflow::cx::v3::GetFlowValidationResultRequest const &)

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

virtual ImportFlow(google::cloud::dialogflow::cx::v3::ImportFlowRequest const &)

Parameter
Name Description
request google::cloud::dialogflow::cx::v3::ImportFlowRequest const &
Returns
Type Description
future< StatusOr< google::cloud::dialogflow::cx::v3::ImportFlowResponse > >

virtual ImportFlow(NoAwaitTag, google::cloud::dialogflow::cx::v3::ImportFlowRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::dialogflow::cx::v3::ImportFlowRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual ImportFlow(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::dialogflow::cx::v3::ImportFlowResponse > >

virtual ExportFlow(google::cloud::dialogflow::cx::v3::ExportFlowRequest const &)

Parameter
Name Description
request google::cloud::dialogflow::cx::v3::ExportFlowRequest const &
Returns
Type Description
future< StatusOr< google::cloud::dialogflow::cx::v3::ExportFlowResponse > >

virtual ExportFlow(NoAwaitTag, google::cloud::dialogflow::cx::v3::ExportFlowRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::dialogflow::cx::v3::ExportFlowRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual ExportFlow(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::dialogflow::cx::v3::ExportFlowResponse > >