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
Returns
- (::String) — The name of answer record, in the format of "projects/
#answer_record=
def answer_record=(value) -> ::String
Parameter
- value (::String) — The name of answer record, in the format of "projects/
Returns
- (::String) — The name of answer record, in the format of "projects/
#intent_suggestion
def intent_suggestion() -> ::Google::Cloud::Dialogflow::V2::IntentSuggestion
Returns
- (::Google::Cloud::Dialogflow::V2::IntentSuggestion) — An intent suggestion generated from conversation.
#intent_suggestion=
def intent_suggestion=(value) -> ::Google::Cloud::Dialogflow::V2::IntentSuggestion
Parameter
- value (::Google::Cloud::Dialogflow::V2::IntentSuggestion) — An intent suggestion generated from conversation.
Returns
- (::Google::Cloud::Dialogflow::V2::IntentSuggestion) — An intent suggestion generated from conversation.
#query_result
def query_result() -> ::Google::Cloud::Dialogflow::V2::QueryResult
Returns
- (::Google::Cloud::Dialogflow::V2::QueryResult) — Result from v2 agent.
#query_result=
def query_result=(value) -> ::Google::Cloud::Dialogflow::V2::QueryResult
Parameter
- value (::Google::Cloud::Dialogflow::V2::QueryResult) — Result from v2 agent.
Returns
- (::Google::Cloud::Dialogflow::V2::QueryResult) — Result from v2 agent.