Class: Google::Apps::Chat::V1::ContextualAddOnMarkup::Card::CardHeader
- Inherits:
-
Object
- Object
- Google::Apps::Chat::V1::ContextualAddOnMarkup::Card::CardHeader
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/chat/v1/contextual_addon.rb
Defined Under Namespace
Modules: ImageStyle
Instance Attribute Summary collapse
-
#image_style ⇒ ::Google::Apps::Chat::V1::ContextualAddOnMarkup::Card::CardHeader::ImageStyle
The image's type (for example, square border or circular border).
-
#image_url ⇒ ::String
The URL of the image in the card header.
-
#subtitle ⇒ ::String
The subtitle of the card header.
-
#title ⇒ ::String
The title must be specified.
Instance Attribute Details
#image_style ⇒ ::Google::Apps::Chat::V1::ContextualAddOnMarkup::Card::CardHeader::ImageStyle
Returns The image's type (for example, square border or circular border).
61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
# File 'proto_docs/google/chat/v1/contextual_addon.rb', line 61 class CardHeader include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module ImageStyle IMAGE_STYLE_UNSPECIFIED = 0 # Square border. IMAGE = 1 # Circular border. AVATAR = 2 end end |
#image_url ⇒ ::String
Returns The URL of the image in the card header.
61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
# File 'proto_docs/google/chat/v1/contextual_addon.rb', line 61 class CardHeader include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module ImageStyle IMAGE_STYLE_UNSPECIFIED = 0 # Square border. IMAGE = 1 # Circular border. AVATAR = 2 end end |
#subtitle ⇒ ::String
Returns The subtitle of the card header.
61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
# File 'proto_docs/google/chat/v1/contextual_addon.rb', line 61 class CardHeader include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module ImageStyle IMAGE_STYLE_UNSPECIFIED = 0 # Square border. IMAGE = 1 # Circular border. AVATAR = 2 end end |
#title ⇒ ::String
Returns 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.
61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
# File 'proto_docs/google/chat/v1/contextual_addon.rb', line 61 class CardHeader include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module ImageStyle IMAGE_STYLE_UNSPECIFIED = 0 # Square border. IMAGE = 1 # Circular border. AVATAR = 2 end end |