class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageCardButton
Contains information about a button.
Attributes
postback[RW]
Optional. The text to send back to the Dialogflow API or a URI to open. Corresponds to the JSON property `postback` @return [String]
text[RW]
Optional. The text to show on the button. Corresponds to the JSON property `text` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 6141 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_v2beta1/classes.rb, line 6146 def update!(**args) @postback = args[:postback] if args.key?(:postback) @text = args[:text] if args.key?(:text) end