class Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentMessageCard

The card response message.

Attributes

buttons[RW]

Optional. The collection of card buttons. Corresponds to the JSON property `buttons` @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentMessageCardButton>]

image_uri[RW]

Optional. The public URI to an image file for the card. Corresponds to the JSON property `imageUri` @return [String]

subtitle[RW]

Optional. The subtitle of the card. Corresponds to the JSON property `subtitle` @return [String]

title[RW]

Optional. The title of the card. Corresponds to the JSON property `title` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v3beta1/classes.rb, line 9445
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_v3beta1/classes.rb, line 9450
def update!(**args)
  @buttons = args[:buttons] if args.key?(:buttons)
  @image_uri = args[:image_uri] if args.key?(:image_uri)
  @subtitle = args[:subtitle] if args.key?(:subtitle)
  @title = args[:title] if args.key?(:title)
end