Class ParticipantsConnection (2.29.0-rc)

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

To create a concrete instance, see MakeParticipantsConnection().

For mocking, see dialogflow_es_mocks::MockParticipantsConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual CreateParticipant(google::cloud::dialogflow::v2::CreateParticipantRequest const &)

Parameter
Name Description
request google::cloud::dialogflow::v2::CreateParticipantRequest const &
Returns
Type Description
StatusOr< google::cloud::dialogflow::v2::Participant >

virtual GetParticipant(google::cloud::dialogflow::v2::GetParticipantRequest const &)

Parameter
Name Description
request google::cloud::dialogflow::v2::GetParticipantRequest const &
Returns
Type Description
StatusOr< google::cloud::dialogflow::v2::Participant >

virtual ListParticipants(google::cloud::dialogflow::v2::ListParticipantsRequest)

Parameter
Name Description
request google::cloud::dialogflow::v2::ListParticipantsRequest
Returns
Type Description
StreamRange< google::cloud::dialogflow::v2::Participant >

virtual UpdateParticipant(google::cloud::dialogflow::v2::UpdateParticipantRequest const &)

Parameter
Name Description
request google::cloud::dialogflow::v2::UpdateParticipantRequest const &
Returns
Type Description
StatusOr< google::cloud::dialogflow::v2::Participant >

virtual AnalyzeContent(google::cloud::dialogflow::v2::AnalyzeContentRequest const &)

Parameter
Name Description
request google::cloud::dialogflow::v2::AnalyzeContentRequest const &
Returns
Type Description
StatusOr< google::cloud::dialogflow::v2::AnalyzeContentResponse >

virtual AsyncStreamingAnalyzeContent()

Returns
Type Description
std::unique_ptr<::google::cloud::AsyncStreamingReadWriteRpc< google::cloud::dialogflow::v2::StreamingAnalyzeContentRequest, google::cloud::dialogflow::v2::StreamingAnalyzeContentResponse > >

virtual SuggestArticles(google::cloud::dialogflow::v2::SuggestArticlesRequest const &)

Parameter
Name Description
request google::cloud::dialogflow::v2::SuggestArticlesRequest const &
Returns
Type Description
StatusOr< google::cloud::dialogflow::v2::SuggestArticlesResponse >

virtual SuggestFaqAnswers(google::cloud::dialogflow::v2::SuggestFaqAnswersRequest const &)

Parameter
Name Description
request google::cloud::dialogflow::v2::SuggestFaqAnswersRequest const &
Returns
Type Description
StatusOr< google::cloud::dialogflow::v2::SuggestFaqAnswersResponse >

virtual SuggestSmartReplies(google::cloud::dialogflow::v2::SuggestSmartRepliesRequest const &)

Parameter
Name Description
request google::cloud::dialogflow::v2::SuggestSmartRepliesRequest const &
Returns
Type Description
StatusOr< google::cloud::dialogflow::v2::SuggestSmartRepliesResponse >

virtual SuggestKnowledgeAssist(google::cloud::dialogflow::v2::SuggestKnowledgeAssistRequest const &)

Parameter
Name Description
request google::cloud::dialogflow::v2::SuggestKnowledgeAssistRequest const &
Returns
Type Description
StatusOr< google::cloud::dialogflow::v2::SuggestKnowledgeAssistResponse >