Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Card::V1::Card::CardFixedFooter.
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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#primary_button
def primary_button() -> ::Google::Apps::Card::V1::Button
Returns
- (::Google::Apps::Card::V1::Button) — The primary button of the fixed footer. The button must be a text button with text and color set.
#primary_button=
def primary_button=(value) -> ::Google::Apps::Card::V1::Button
Parameter
- value (::Google::Apps::Card::V1::Button) — The primary button of the fixed footer. The button must be a text button with text and color set.
Returns
- (::Google::Apps::Card::V1::Button) — The primary button of the fixed footer. The button must be a text button with text and color set.
#secondary_button
def secondary_button() -> ::Google::Apps::Card::V1::Button
Returns
-
(::Google::Apps::Card::V1::Button) — 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 setprimaryButton
.
#secondary_button=
def secondary_button=(value) -> ::Google::Apps::Card::V1::Button
Parameter
-
value (::Google::Apps::Card::V1::Button) — 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 setprimaryButton
.
Returns
-
(::Google::Apps::Card::V1::Button) — 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 setprimaryButton
.