class Google::Apis::ChatV1::CardHeader
Attributes
image_style[RW]
The image's type (e.g. square border or circular border). Corresponds to the JSON property `imageStyle` @return [String]
image_url[RW]
The URL of the image in the card header. Corresponds to the JSON property `imageUrl` @return [String]
subtitle[RW]
The subtitle of the card header. Corresponds to the JSON property `subtitle` @return [String]
title[RW]
The title must be specified. The header has a fixed height: if both a title and subtitle is specified, each will take up 1 line. If only the title is specified, it will take up both lines. Corresponds to the JSON property `title` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/chat_v1/classes.rb, line 366 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/chat_v1/classes.rb, line 371 def update!(**args) @image_style = args[:image_style] if args.key?(:image_style) @image_url = args[:image_url] if args.key?(:image_url) @subtitle = args[:subtitle] if args.key?(:subtitle) @title = args[:title] if args.key?(:title) end