Class: Google::Cloud::Dialogflow::V2::SuggestionResult
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::SuggestionResult
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/participant.rb
Overview
One response of different type of suggestion response which is used in the response of Participants.AnalyzeContent and Participants.AnalyzeContent, as well as HumanAgentAssistantEvent.
Instance Attribute Summary collapse
-
#error ⇒ ::Google::Rpc::Status
Error status if the request failed.
-
#suggest_articles_response ⇒ ::Google::Cloud::Dialogflow::V2::SuggestArticlesResponse
SuggestArticlesResponse if request is for ARTICLE_SUGGESTION.
-
#suggest_faq_answers_response ⇒ ::Google::Cloud::Dialogflow::V2::SuggestFaqAnswersResponse
SuggestFaqAnswersResponse if request is for FAQ_ANSWER.
-
#suggest_knowledge_assist_response ⇒ ::Google::Cloud::Dialogflow::V2::SuggestKnowledgeAssistResponse
SuggestKnowledgeAssistResponse if request is for KNOWLEDGE_ASSIST.
-
#suggest_smart_replies_response ⇒ ::Google::Cloud::Dialogflow::V2::SuggestSmartRepliesResponse
SuggestSmartRepliesResponse if request is for SMART_REPLY.
Instance Attribute Details
#error ⇒ ::Google::Rpc::Status
Returns Error status if the request failed.
Note: The following fields are mutually exclusive: error, suggest_articles_response, suggest_knowledge_assist_response, suggest_faq_answers_response, suggest_smart_replies_response. If a field in that set is populated, all other fields in the set will automatically be cleared.
977 978 979 980 |
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 977 class SuggestionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#suggest_articles_response ⇒ ::Google::Cloud::Dialogflow::V2::SuggestArticlesResponse
Returns SuggestArticlesResponse if request is for ARTICLE_SUGGESTION.
Note: The following fields are mutually exclusive: suggest_articles_response, error, suggest_knowledge_assist_response, suggest_faq_answers_response, suggest_smart_replies_response. If a field in that set is populated, all other fields in the set will automatically be cleared.
977 978 979 980 |
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 977 class SuggestionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#suggest_faq_answers_response ⇒ ::Google::Cloud::Dialogflow::V2::SuggestFaqAnswersResponse
Returns SuggestFaqAnswersResponse if request is for FAQ_ANSWER.
Note: The following fields are mutually exclusive: suggest_faq_answers_response, error, suggest_articles_response, suggest_knowledge_assist_response, suggest_smart_replies_response. If a field in that set is populated, all other fields in the set will automatically be cleared.
977 978 979 980 |
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 977 class SuggestionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#suggest_knowledge_assist_response ⇒ ::Google::Cloud::Dialogflow::V2::SuggestKnowledgeAssistResponse
Returns SuggestKnowledgeAssistResponse if request is for KNOWLEDGE_ASSIST.
Note: The following fields are mutually exclusive: suggest_knowledge_assist_response, error, suggest_articles_response, suggest_faq_answers_response, suggest_smart_replies_response. If a field in that set is populated, all other fields in the set will automatically be cleared.
977 978 979 980 |
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 977 class SuggestionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#suggest_smart_replies_response ⇒ ::Google::Cloud::Dialogflow::V2::SuggestSmartRepliesResponse
Returns SuggestSmartRepliesResponse if request is for SMART_REPLY.
Note: The following fields are mutually exclusive: suggest_smart_replies_response, error, suggest_articles_response, suggest_knowledge_assist_response, suggest_faq_answers_response. If a field in that set is populated, all other fields in the set will automatically be cleared.
977 978 979 980 |
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 977 class SuggestionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |