Class: Google::Apps::Chat::V1::ContextualAddOnMarkup::Card::CardAction

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/chat/v1/contextual_addon.rb

Overview

A card action is the action associated with the card. For an invoice card, a typical action would be: delete invoice, email invoice or open the invoice in browser.

Not supported by Google Chat apps.

Instance Attribute Summary collapse

Instance Attribute Details

#action_label::String

Returns The label used to be displayed in the action menu item.

Returns:

  • (::String)

    The label used to be displayed in the action menu item.



111
112
113
114
# File 'proto_docs/google/chat/v1/contextual_addon.rb', line 111

class CardAction
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#on_click::Google::Apps::Chat::V1::WidgetMarkup::OnClick

Returns The onclick action for this action item.

Returns:



111
112
113
114
# File 'proto_docs/google/chat/v1/contextual_addon.rb', line 111

class CardAction
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end