class Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageTableCard

Table card for Actions on Google.

Attributes

buttons[RW]

Optional. List of buttons for the card. Corresponds to the JSON property `buttons` @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageBasicCardButton>]

column_properties[RW]

Optional. Display properties for the columns in this table. Corresponds to the JSON property `columnProperties` @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageColumnProperties>]

image[RW]

The image response message. Corresponds to the JSON property `image` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageImage]

rows[RW]

Optional. Rows in this table of data. Corresponds to the JSON property `rows` @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageTableCardRow>]

subtitle[RW]

Optional. Subtitle to the title. Corresponds to the JSON property `subtitle` @return [String]

title[RW]

Required. 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_v3/classes.rb, line 9932
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 9937
def update!(**args)
  @buttons = args[:buttons] if args.key?(:buttons)
  @column_properties = args[:column_properties] if args.key?(:column_properties)
  @image = args[:image] if args.key?(:image)
  @rows = args[:rows] if args.key?(:rows)
  @subtitle = args[:subtitle] if args.key?(:subtitle)
  @title = args[:title] if args.key?(:title)
end