Class IntentsConnection (2.26.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 ImportIntents(ExperimentalTag, NoAwaitTag, google::cloud::dialogflow::cx::v3::ImportIntentsRequest const &)

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

virtual ImportIntents(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation 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 > >

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

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

virtual ExportIntents(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::dialogflow::cx::v3::ExportIntentsResponse > >