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
- (::Google::Apps::Chat::V1::ContextualAddOnMarkup::Card::CardHeader::ImageStyle) — The image's type (for example, square border or circular border).
#image_style=
def image_style=(value) -> ::Google::Apps::Chat::V1::ContextualAddOnMarkup::Card::CardHeader::ImageStyle
Parameter
- value (::Google::Apps::Chat::V1::ContextualAddOnMarkup::Card::CardHeader::ImageStyle) — The image's type (for example, square border or circular border).
Returns
- (::Google::Apps::Chat::V1::ContextualAddOnMarkup::Card::CardHeader::ImageStyle) — The image's type (for example, square border or circular border).
#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.