Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DialogflowAssistAnswer
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DialogflowAssistAnswer
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Instance Attribute Summary collapse
-
#answer_record ⇒ String
Corresponds to the JSON property
answerRecord. -
#intent_suggestion ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentSuggestion
Corresponds to the JSON property
intentSuggestion. -
#query_result ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2QueryResult
Corresponds to the JSON property
queryResult.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2DialogflowAssistAnswer
constructor
A new instance of GoogleCloudDialogflowV2DialogflowAssistAnswer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2DialogflowAssistAnswer
Returns a new instance of GoogleCloudDialogflowV2DialogflowAssistAnswer.
9210 9211 9212 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9210 def initialize(**args) update!(**args) end |
Instance Attribute Details
#answer_record ⇒ String
Corresponds to the JSON property answerRecord
9198 9199 9200 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9198 def answer_record @answer_record end |
#intent_suggestion ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentSuggestion
Corresponds to the JSON property intentSuggestion
9203 9204 9205 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9203 def intent_suggestion @intent_suggestion end |
#query_result ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2QueryResult
Corresponds to the JSON property queryResult
9208 9209 9210 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9208 def query_result @query_result end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9215 9216 9217 9218 9219 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9215 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 |