class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageCardButton

Optional. 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 10987
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 10992
def update!(**args)
  @postback = args[:postback] if args.key?(:postback)
  @text = args[:text] if args.key?(:text)
end