Class SuggestionResult (2.26.0)

SuggestionResult(mapping=None, *, ignore_unknown_fields=False, **kwargs)

One response of different type of suggestion response which is used in the response of Participants.AnalyzeContent and Participants.AnalyzeContent, as well as HumanAgentAssistantEvent.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
error google.rpc.status_pb2.Status
Error status if the request failed. This field is a member of oneof_ suggestion_response.
suggest_articles_response google.cloud.dialogflow_v2.types.SuggestArticlesResponse
SuggestArticlesResponse if request is for ARTICLE_SUGGESTION. This field is a member of oneof_ suggestion_response.
suggest_faq_answers_response google.cloud.dialogflow_v2.types.SuggestFaqAnswersResponse
SuggestFaqAnswersResponse if request is for FAQ_ANSWER. This field is a member of oneof_ suggestion_response.
suggest_smart_replies_response google.cloud.dialogflow_v2.types.SuggestSmartRepliesResponse
SuggestSmartRepliesResponse if request is for SMART_REPLY. This field is a member of oneof_ suggestion_response.