Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DialogflowAssistAnswer
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DialogflowAssistAnswer
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Overview
Represents a Dialogflow assist answer.
Instance Attribute Summary collapse
-
#answer_record ⇒ String
The name of answer record, in the format of "projects//locations// answerRecords/" Corresponds to the JSON property
answerRecord
. -
#intent_suggestion ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentSuggestion
Represents an intent suggestion.
-
#query_result ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryResult
Represents the result of conversational query or event processing.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1DialogflowAssistAnswer
constructor
A new instance of GoogleCloudDialogflowV2beta1DialogflowAssistAnswer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1DialogflowAssistAnswer
Returns a new instance of GoogleCloudDialogflowV2beta1DialogflowAssistAnswer.
12897 12898 12899 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12897 def initialize(**args) update!(**args) end |
Instance Attribute Details
#answer_record ⇒ String
The name of answer record, in the format of "projects//locations//
answerRecords/"
Corresponds to the JSON property answerRecord
12885 12886 12887 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12885 def answer_record @answer_record end |
#intent_suggestion ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentSuggestion
Represents an intent suggestion.
Corresponds to the JSON property intentSuggestion
12890 12891 12892 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12890 def intent_suggestion @intent_suggestion end |
#query_result ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryResult
Represents the result of conversational query or event processing.
Corresponds to the JSON property queryResult
12895 12896 12897 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12895 def query_result @query_result end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12902 12903 12904 12905 12906 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12902 def update!(**args) @answer_record = args[:answer_record] if args.key?(:answer_record) @intent_suggestion = args[:intent_suggestion] if args.key?(:intent_suggestion) @query_result = args[:query_result] if args.key?(:query_result) end |