Google Chat V1 API - Class Google::Apps::Card::V1::Card::CardFixedFooter (v0.5.1)

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.

Google Workspace Add-ons and Chat apps:

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#primary_button

def primary_button() -> ::Google::Apps::Card::V1::Button
Returns

#primary_button=

def primary_button=(value) -> ::Google::Apps::Card::V1::Button
Parameter
Returns

#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 set primaryButton.

#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 set primaryButton.
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 set primaryButton.