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

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#image_style

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

#image_style=

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

#image_url

def image_url() -> ::String
Returns
  • (::String) — The URL of the image in the card header.

#image_url=

def image_url=(value) -> ::String
Parameter
  • value (::String) — The URL of the image in the card header.
Returns
  • (::String) — The URL of the image in the card header.

#subtitle

def subtitle() -> ::String
Returns
  • (::String) — The subtitle of the card header.

#subtitle=

def subtitle=(value) -> ::String
Parameter
  • value (::String) — The subtitle of the card header.
Returns
  • (::String) — The subtitle of the card header.

#title

def title() -> ::String
Returns
  • (::String) — The title must be specified. The header has a fixed height: if both a title and subtitle is specified, each takes up one line. If only the title is specified, it takes up both lines.

#title=

def title=(value) -> ::String
Parameter
  • value (::String) — The title must be specified. The header has a fixed height: if both a title and subtitle is specified, each takes up one line. If only the title is specified, it takes up both lines.
Returns
  • (::String) — The title must be specified. The header has a fixed height: if both a title and subtitle is specified, each takes up one line. If only the title is specified, it takes up both lines.