Google Chat V1 API - Class Google::Apps::Chat::V1::ContextualAddOnMarkup::Card (v0.5.0)

Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Chat::V1::ContextualAddOnMarkup::Card.

A card is a UI element that can contain UI widgets such as text and images.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#card_actions

def card_actions() -> ::Array<::Google::Apps::Chat::V1::ContextualAddOnMarkup::Card::CardAction>
Returns

#card_actions=

def card_actions=(value) -> ::Array<::Google::Apps::Chat::V1::ContextualAddOnMarkup::Card::CardAction>
Parameter
Returns

#header

def header() -> ::Google::Apps::Chat::V1::ContextualAddOnMarkup::Card::CardHeader
Returns

#header=

def header=(value) -> ::Google::Apps::Chat::V1::ContextualAddOnMarkup::Card::CardHeader
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — Name of the card.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Name of the card.
Returns
  • (::String) — Name of the card.

#sections

def sections() -> ::Array<::Google::Apps::Chat::V1::ContextualAddOnMarkup::Card::Section>
Returns

#sections=

def sections=(value) -> ::Array<::Google::Apps::Chat::V1::ContextualAddOnMarkup::Card::Section>
Parameter
Returns