Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionInput
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionInput
- 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
-
#action ⇒ String
Corresponds to the JSON property
action. -
#answer_record ⇒ String
Corresponds to the JSON property
answerRecord. -
#parameters ⇒ Hash<String,Object>
Corresponds to the JSON property
parameters. -
#send_time ⇒ String
Corresponds to the JSON property
sendTime.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2SuggestionInput
constructor
A new instance of GoogleCloudDialogflowV2SuggestionInput.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2SuggestionInput
Returns a new instance of GoogleCloudDialogflowV2SuggestionInput.
16055 16056 16057 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16055 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ String
Corresponds to the JSON property action
16038 16039 16040 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16038 def action @action end |
#answer_record ⇒ String
Corresponds to the JSON property answerRecord
16043 16044 16045 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16043 def answer_record @answer_record end |
#parameters ⇒ Hash<String,Object>
Corresponds to the JSON property parameters
16048 16049 16050 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16048 def parameters @parameters end |
#send_time ⇒ String
Corresponds to the JSON property sendTime
16053 16054 16055 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16053 def send_time @send_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16060 16061 16062 16063 16064 16065 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16060 def update!(**args) @action = args[:action] if args.key?(:action) @answer_record = args[:answer_record] if args.key?(:answer_record) @parameters = args[:parameters] if args.key?(:parameters) @send_time = args[:send_time] if args.key?(:send_time) end |