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
Returns
- (::Google::Rpc::Status) — Error status if the request failed.
#error=
def error=(value) -> ::Google::Rpc::Status
Parameter
- value (::Google::Rpc::Status) — Error status if the request failed.
Returns
- (::Google::Rpc::Status) — Error status if the request failed.
#suggest_articles_response
def suggest_articles_response() -> ::Google::Cloud::Dialogflow::V2::SuggestArticlesResponse
Returns
- (::Google::Cloud::Dialogflow::V2::SuggestArticlesResponse) — SuggestArticlesResponse if request is for ARTICLE_SUGGESTION.
#suggest_articles_response=
def suggest_articles_response=(value) -> ::Google::Cloud::Dialogflow::V2::SuggestArticlesResponse
Parameter
- value (::Google::Cloud::Dialogflow::V2::SuggestArticlesResponse) — SuggestArticlesResponse if request is for ARTICLE_SUGGESTION.
Returns
- (::Google::Cloud::Dialogflow::V2::SuggestArticlesResponse) — SuggestArticlesResponse if request is for ARTICLE_SUGGESTION.
#suggest_faq_answers_response
def suggest_faq_answers_response() -> ::Google::Cloud::Dialogflow::V2::SuggestFaqAnswersResponse
Returns
- (::Google::Cloud::Dialogflow::V2::SuggestFaqAnswersResponse) — SuggestFaqAnswersResponse if request is for FAQ_ANSWER.
#suggest_faq_answers_response=
def suggest_faq_answers_response=(value) -> ::Google::Cloud::Dialogflow::V2::SuggestFaqAnswersResponse
Parameter
- value (::Google::Cloud::Dialogflow::V2::SuggestFaqAnswersResponse) — SuggestFaqAnswersResponse if request is for FAQ_ANSWER.
Returns
- (::Google::Cloud::Dialogflow::V2::SuggestFaqAnswersResponse) — SuggestFaqAnswersResponse if request is for FAQ_ANSWER.
#suggest_smart_replies_response
def suggest_smart_replies_response() -> ::Google::Cloud::Dialogflow::V2::SuggestSmartRepliesResponse
Returns
- (::Google::Cloud::Dialogflow::V2::SuggestSmartRepliesResponse) — SuggestSmartRepliesResponse if request is for SMART_REPLY.
#suggest_smart_replies_response=
def suggest_smart_replies_response=(value) -> ::Google::Cloud::Dialogflow::V2::SuggestSmartRepliesResponse
Parameter
- value (::Google::Cloud::Dialogflow::V2::SuggestSmartRepliesResponse) — SuggestSmartRepliesResponse if request is for SMART_REPLY.
Returns
- (::Google::Cloud::Dialogflow::V2::SuggestSmartRepliesResponse) — SuggestSmartRepliesResponse if request is for SMART_REPLY.