Google Chat V1 API - Class Google::Apps::Card::V1::Card::CardAction (v0.3.1)

Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Card::V1::Card::CardAction.

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.

Google Workspace Add-ons:

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#action_label

def action_label() -> ::String
Returns
  • (::String) — The label that displays as the action menu item.

#action_label=

def action_label=(value) -> ::String
Parameter
  • value (::String) — The label that displays as the action menu item.
Returns
  • (::String) — The label that displays as the action menu item.

#on_click

def on_click() -> ::Google::Apps::Card::V1::OnClick
Returns

#on_click=

def on_click=(value) -> ::Google::Apps::Card::V1::OnClick
Parameter
Returns