Class ParticipantsConnection (2.31.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 >

virtual ListLocations(google::cloud::location::ListLocationsRequest)

Parameter
Name Description
request google::cloud::location::ListLocationsRequest
Returns
Type Description
StreamRange< google::cloud::location::Location >

virtual GetLocation(google::cloud::location::GetLocationRequest const &)

Parameter
Name Description
request google::cloud::location::GetLocationRequest const &
Returns
Type Description
StatusOr< google::cloud::location::Location >

virtual ListOperations(google::longrunning::ListOperationsRequest)

Parameter
Name Description
request google::longrunning::ListOperationsRequest
Returns
Type Description
StreamRange< google::longrunning::Operation >

virtual GetOperation(google::longrunning::GetOperationRequest const &)

Parameter
Name Description
request google::longrunning::GetOperationRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CancelOperation(google::longrunning::CancelOperationRequest const &)

Parameter
Name Description
request google::longrunning::CancelOperationRequest const &
Returns
Type Description
Status