Class IntentsConnection (2.24.0)

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

To create a concrete instance, see MakeIntentsConnection().

For mocking, see dialogflow_cx_mocks::MockIntentsConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual ListIntents(google::cloud::dialogflow::cx::v3::ListIntentsRequest)

Parameter
Name Description
request google::cloud::dialogflow::cx::v3::ListIntentsRequest
Returns
Type Description
StreamRange< google::cloud::dialogflow::cx::v3::Intent >

virtual GetIntent(google::cloud::dialogflow::cx::v3::GetIntentRequest const &)

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

virtual CreateIntent(google::cloud::dialogflow::cx::v3::CreateIntentRequest const &)

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

virtual UpdateIntent(google::cloud::dialogflow::cx::v3::UpdateIntentRequest const &)

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

virtual DeleteIntent(google::cloud::dialogflow::cx::v3::DeleteIntentRequest const &)

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

virtual ImportIntents(google::cloud::dialogflow::cx::v3::ImportIntentsRequest const &)

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

virtual ExportIntents(google::cloud::dialogflow::cx::v3::ExportIntentsRequest const &)

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