final case class CardHeader(title: String = "", subtitle: String = "", imageType: ImageType = com.google.apps.card.v1.card.Widget.ImageType.SQUARE, imageUrl: String = "", imageAltText: String = "", unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[CardHeader] with Product with Serializable
Represents a card header. For an example in Google Chat apps, see [Add a header](https://developers.google.com/workspace/chat/design-components-card-dialog#add_a_header).
[Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):
- title
Required. The title of the card header. The header has a fixed height: if both a title and subtitle are specified, each takes up one line. If only the title is specified, it takes up both lines.
- subtitle
The subtitle of the card header. If specified, appears on its own line below the
title
.- imageType
The shape used to crop the image. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):
- imageUrl
The HTTPS URL of the image in the card header.
- imageAltText
The alternative text of this image that's used for accessibility.
- Annotations
- @SerialVersionUID()
- Source
- Card.scala
- Alphabetic
- By Inheritance
- CardHeader
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CardHeader(title: String = "", subtitle: String = "", imageType: ImageType = com.google.apps.card.v1.card.Widget.ImageType.SQUARE, imageUrl: String = "", imageAltText: String = "", unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- title
Required. The title of the card header. The header has a fixed height: if both a title and subtitle are specified, each takes up one line. If only the title is specified, it takes up both lines.
- subtitle
The subtitle of the card header. If specified, appears on its own line below the
title
.- imageType
The shape used to crop the image. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):
- imageUrl
The HTTPS URL of the image in the card header.
- imageAltText
The alternative text of this image that's used for accessibility.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def companion: CardHeader.type
- Definition Classes
- CardHeader → GeneratedMessage
- def discardUnknownFields: CardHeader
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- CardHeader → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- CardHeader → GeneratedMessage
- val imageAltText: String
- val imageType: ImageType
- val imageUrl: String
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def serializedSize: Int
- Definition Classes
- CardHeader → GeneratedMessage
- val subtitle: String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val title: String
- final def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- final def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- final def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- def toProtoString: String
- Definition Classes
- CardHeader → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[CardHeader, CardHeader]) => Mutation[CardHeader]*): CardHeader
- Definition Classes
- Updatable
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withImageAltText(__v: String): CardHeader
- def withImageType(__v: ImageType): CardHeader
- def withImageUrl(__v: String): CardHeader
- def withSubtitle(__v: String): CardHeader
- def withTitle(__v: String): CardHeader
- def withUnknownFields(__v: UnknownFieldSet): CardHeader
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- CardHeader → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage