Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::DialogflowAssistAnswer (v1.7.0)

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.

    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
Parameter
  • 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.

Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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.