Class: Google::Apps::Card::V1::OnClick
- Inherits:
-
Object
- Object
- Google::Apps::Card::V1::OnClick
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/apps/card/v1/card.rb
Overview
Represents how to respond when users click an interactive element on a card, such as a button.
Instance Attribute Summary collapse
-
#action ⇒ ::Google::Apps::Card::V1::Action
If specified, an action is triggered by this
onClick
. -
#card ⇒ ::Google::Apps::Card::V1::Card
A new card is pushed to the card stack after clicking if specified.
-
#open_dynamic_link_action ⇒ ::Google::Apps::Card::V1::Action
An add-on triggers this action when the action needs to open a link.
-
#open_link ⇒ ::Google::Apps::Card::V1::OpenLink
If specified, this
onClick
triggers an open link action.
Instance Attribute Details
#action ⇒ ::Google::Apps::Card::V1::Action
Returns If specified, an action is triggered by this onClick
.
1873 1874 1875 1876 |
# File 'proto_docs/google/apps/card/v1/card.rb', line 1873 class OnClick include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#card ⇒ ::Google::Apps::Card::V1::Card
Returns A new card is pushed to the card stack after clicking if specified.
1873 1874 1875 1876 |
# File 'proto_docs/google/apps/card/v1/card.rb', line 1873 class OnClick include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#open_dynamic_link_action ⇒ ::Google::Apps::Card::V1::Action
Returns An add-on triggers this action when the action needs to open a
link. This differs from the open_link
above in that this needs to talk
to server to get the link. Thus some preparation work is required for
web client to do before the open link action response comes back.
1873 1874 1875 1876 |
# File 'proto_docs/google/apps/card/v1/card.rb', line 1873 class OnClick include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#open_link ⇒ ::Google::Apps::Card::V1::OpenLink
Returns If specified, this onClick
triggers an open link action.
1873 1874 1875 1876 |
# File 'proto_docs/google/apps/card/v1/card.rb', line 1873 class OnClick include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |