Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::DialogflowAssistAnswer.
Represents a Dialogflow assist answer.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#answer_record
def answer_record() -> ::String- (::String) — The name of answer record, in the format of "projects/
#answer_record=
def answer_record=(value) -> ::String- value (::String) — The name of answer record, in the format of "projects/
- (::String) — The name of answer record, in the format of "projects/
#intent_suggestion
def intent_suggestion() -> ::Google::Cloud::Dialogflow::V2::IntentSuggestion-
(::Google::Cloud::Dialogflow::V2::IntentSuggestion) — An intent suggestion generated from conversation.
Note: The following fields are mutually exclusive:
intent_suggestion,query_result. If a field in that set is populated, all other fields in the set will automatically be cleared.
#intent_suggestion=
def intent_suggestion=(value) -> ::Google::Cloud::Dialogflow::V2::IntentSuggestion-
value (::Google::Cloud::Dialogflow::V2::IntentSuggestion) — An intent suggestion generated from conversation.
Note: The following fields are mutually exclusive:
intent_suggestion,query_result. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dialogflow::V2::IntentSuggestion) — An intent suggestion generated from conversation.
Note: The following fields are mutually exclusive:
intent_suggestion,query_result. If a field in that set is populated, all other fields in the set will automatically be cleared.
#query_result
def query_result() -> ::Google::Cloud::Dialogflow::V2::QueryResult-
(::Google::Cloud::Dialogflow::V2::QueryResult) — Result from v2 agent.
Note: The following fields are mutually exclusive:
query_result,intent_suggestion. If a field in that set is populated, all other fields in the set will automatically be cleared.
#query_result=
def query_result=(value) -> ::Google::Cloud::Dialogflow::V2::QueryResult-
value (::Google::Cloud::Dialogflow::V2::QueryResult) — Result from v2 agent.
Note: The following fields are mutually exclusive:
query_result,intent_suggestion. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dialogflow::V2::QueryResult) — Result from v2 agent.
Note: The following fields are mutually exclusive:
query_result,intent_suggestion. If a field in that set is populated, all other fields in the set will automatically be cleared.