Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::SuggestionResult.
One response of different type of suggestion response which is used in the response of Participants.AnalyzeContent and Participants.AnalyzeContent, as well as HumanAgentAssistantEvent.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#error
def error() -> ::Google::Rpc::Status
-
(::Google::Rpc::Status) — 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.
#error=
def error=(value) -> ::Google::Rpc::Status
-
value (::Google::Rpc::Status) — 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.
-
(::Google::Rpc::Status) — 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.
#suggest_articles_response
def suggest_articles_response() -> ::Google::Cloud::Dialogflow::V2::SuggestArticlesResponse
-
(::Google::Cloud::Dialogflow::V2::SuggestArticlesResponse) — 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.
#suggest_articles_response=
def suggest_articles_response=(value) -> ::Google::Cloud::Dialogflow::V2::SuggestArticlesResponse
-
value (::Google::Cloud::Dialogflow::V2::SuggestArticlesResponse) — 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.
-
(::Google::Cloud::Dialogflow::V2::SuggestArticlesResponse) — 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.
#suggest_faq_answers_response
def suggest_faq_answers_response() -> ::Google::Cloud::Dialogflow::V2::SuggestFaqAnswersResponse
-
(::Google::Cloud::Dialogflow::V2::SuggestFaqAnswersResponse) — 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.
#suggest_faq_answers_response=
def suggest_faq_answers_response=(value) -> ::Google::Cloud::Dialogflow::V2::SuggestFaqAnswersResponse
-
value (::Google::Cloud::Dialogflow::V2::SuggestFaqAnswersResponse) — 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.
-
(::Google::Cloud::Dialogflow::V2::SuggestFaqAnswersResponse) — 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.
#suggest_knowledge_assist_response
def suggest_knowledge_assist_response() -> ::Google::Cloud::Dialogflow::V2::SuggestKnowledgeAssistResponse
-
(::Google::Cloud::Dialogflow::V2::SuggestKnowledgeAssistResponse) — 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.
#suggest_knowledge_assist_response=
def suggest_knowledge_assist_response=(value) -> ::Google::Cloud::Dialogflow::V2::SuggestKnowledgeAssistResponse
-
value (::Google::Cloud::Dialogflow::V2::SuggestKnowledgeAssistResponse) — 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.
-
(::Google::Cloud::Dialogflow::V2::SuggestKnowledgeAssistResponse) — 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.
#suggest_smart_replies_response
def suggest_smart_replies_response() -> ::Google::Cloud::Dialogflow::V2::SuggestSmartRepliesResponse
-
(::Google::Cloud::Dialogflow::V2::SuggestSmartRepliesResponse) — 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.
#suggest_smart_replies_response=
def suggest_smart_replies_response=(value) -> ::Google::Cloud::Dialogflow::V2::SuggestSmartRepliesResponse
-
value (::Google::Cloud::Dialogflow::V2::SuggestSmartRepliesResponse) — 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.
-
(::Google::Cloud::Dialogflow::V2::SuggestSmartRepliesResponse) — 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.