class Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
Additional info about the select item for when it is triggered in a dialog.
Attributes
key[RW]
Required. A unique key that will be sent back to the agent if this response is given. Corresponds to the JSON property `key` @return [String]
synonyms[RW]
Optional. A list of synonyms that can also be used to trigger this item in dialog. Corresponds to the JSON property `synonyms` @return [Array<String>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dialogflow_v3/classes.rb, line 13330 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/dialogflow_v3/classes.rb, line 13335 def update!(**args) @key = args[:key] if args.key?(:key) @synonyms = args[:synonyms] if args.key?(:synonyms) end