class Google::Apis::ChatV1::GoogleAppsCardV1CardAction

A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser.

Attributes

action_label[RW]

The label that displays as the action menu item. Corresponds to the JSON property `actionLabel` @return [String]

on_click[RW]

The onclick action for this action item. Corresponds to the JSON property `onClick` @return [Google::Apis::ChatV1::GoogleAppsCardV1OnClick]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/chat_v1/classes.rb, line 1169
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/chat_v1/classes.rb, line 1174
def update!(**args)
  @action_label = args[:action_label] if args.key?(:action_label)
  @on_click = args[:on_click] if args.key?(:on_click)
end