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
Instance Attribute Summary collapse
-
#answer_record ⇒ String
Corresponds to the JSON property
answerRecord. -
#intent_suggestion ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentSuggestion
Corresponds to the JSON property
intentSuggestion. -
#query_result ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryResult
Corresponds to the JSON property
queryResult.
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.
13009 13010 13011 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13009 def initialize(**args) update!(**args) end |
Instance Attribute Details
#answer_record ⇒ String
Corresponds to the JSON property answerRecord
12997 12998 12999 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12997 def answer_record @answer_record end |
#intent_suggestion ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentSuggestion
Corresponds to the JSON property intentSuggestion
13002 13003 13004 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13002 def intent_suggestion @intent_suggestion end |
#query_result ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryResult
Corresponds to the JSON property queryResult
13007 13008 13009 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13007 def query_result @query_result end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13014 13015 13016 13017 13018 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13014 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 |