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.
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
-
(::Google::Apps::Card::V1::OnClick) — The
onClick
action for this action item.
#on_click=
def on_click=(value) -> ::Google::Apps::Card::V1::OnClick
Parameter
-
value (::Google::Apps::Card::V1::OnClick) — The
onClick
action for this action item.
Returns
-
(::Google::Apps::Card::V1::OnClick) — The
onClick
action for this action item.