Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionInput
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionInput
- 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
-
#action ⇒ String
Corresponds to the JSON property
action. -
#answer_record ⇒ String
Corresponds to the JSON property
answerRecord. -
#intent_input ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentInput
Corresponds to the JSON property
intentInput. -
#parameters ⇒ Hash<String,Object>
Corresponds to the JSON property
parameters. -
#send_time ⇒ String
Corresponds to the JSON property
sendTime. -
#text_override ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextInput
Corresponds to the JSON property
textOverride.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SuggestionInput
constructor
A new instance of GoogleCloudDialogflowV2beta1SuggestionInput.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SuggestionInput
Returns a new instance of GoogleCloudDialogflowV2beta1SuggestionInput.
20296 20297 20298 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20296 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ String
Corresponds to the JSON property action
20269 20270 20271 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20269 def action @action end |
#answer_record ⇒ String
Corresponds to the JSON property answerRecord
20274 20275 20276 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20274 def answer_record @answer_record end |
#intent_input ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentInput
Corresponds to the JSON property intentInput
20279 20280 20281 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20279 def intent_input @intent_input end |
#parameters ⇒ Hash<String,Object>
Corresponds to the JSON property parameters
20284 20285 20286 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20284 def parameters @parameters end |
#send_time ⇒ String
Corresponds to the JSON property sendTime
20289 20290 20291 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20289 def send_time @send_time end |
#text_override ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextInput
Corresponds to the JSON property textOverride
20294 20295 20296 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20294 def text_override @text_override end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20301 20302 20303 20304 20305 20306 20307 20308 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20301 def update!(**args) @action = args[:action] if args.key?(:action) @answer_record = args[:answer_record] if args.key?(:answer_record) @intent_input = args[:intent_input] if args.key?(:intent_input) @parameters = args[:parameters] if args.key?(:parameters) @send_time = args[:send_time] if args.key?(:send_time) @text_override = args[:text_override] if args.key?(:text_override) end |