Class: Google::Apps::Card::V1::Card::CardFixedFooter
- Inherits:
-
Object
- Object
- Google::Apps::Card::V1::Card::CardFixedFooter
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/apps/card/v1/card.rb
Overview
A persistent (sticky) footer that that appears at the bottom of the card.
Setting fixedFooter
without specifying a primaryButton
or a
secondaryButton
causes an error.
For Chat apps, you can use fixed footers in dialogs, but not card messages. For an example in Google Chat apps, see Add a persistent footer.
Instance Attribute Summary collapse
-
#primary_button ⇒ ::Google::Apps::Card::V1::Button
The primary button of the fixed footer.
-
#secondary_button ⇒ ::Google::Apps::Card::V1::Button
The secondary button of the fixed footer.
Instance Attribute Details
#primary_button ⇒ ::Google::Apps::Card::V1::Button
Returns The primary button of the fixed footer. The button must be a text button with text and color set.
333 334 335 336 |
# File 'proto_docs/google/apps/card/v1/card.rb', line 333 class CardFixedFooter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#secondary_button ⇒ ::Google::Apps::Card::V1::Button
Returns The secondary button of the fixed footer. The button must be a text
button with text and color set.
If secondaryButton
is set, you must also set primaryButton
.
333 334 335 336 |
# File 'proto_docs/google/apps/card/v1/card.rb', line 333 class CardFixedFooter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |