final case class GridItem(id: String = "", image: Option[ImageComponent] = _root_.scala.None, title: String = "", subtitle: String = "", layout: GridItemLayout = com.google.apps.card.v1.card.Grid.GridItem.GridItemLayout.GRID_ITEM_LAYOUT_UNSPECIFIED, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[GridItem] with Product with Serializable
Represents an item in a grid layout. Items can contain text, an image, or both text and an image.
[Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):
- id
A user-specified identifier for this grid item. This identifier is returned in the parent grid's
onClickcallback parameters.- image
The image that displays in the grid item.
- title
The grid item's title.
- subtitle
The grid item's subtitle.
- layout
The layout to use for the grid item.
- Annotations
- @SerialVersionUID()
- Source
- Grid.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- GridItem
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new GridItem(id: String = "", image: Option[ImageComponent] = _root_.scala.None, title: String = "", subtitle: String = "", layout: GridItemLayout = com.google.apps.card.v1.card.Grid.GridItem.GridItemLayout.GRID_ITEM_LAYOUT_UNSPECIFIED, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- id
A user-specified identifier for this grid item. This identifier is returned in the parent grid's
onClickcallback parameters.- image
The image that displays in the grid item.
- title
The grid item's title.
- subtitle
The grid item's subtitle.
- layout
The layout to use for the grid item.
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 clearImage: GridItem
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def companion: GridItem.type
- Definition Classes
- GridItem → GeneratedMessage
- def discardUnknownFields: GridItem
- 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
- GridItem → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- GridItem → GeneratedMessage
- def getImage: ImageComponent
- val id: String
- val image: Option[ImageComponent]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val layout: GridItemLayout
- 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
- GridItem → 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
- GridItem → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[GridItem, GridItem]) => Mutation[GridItem]*): GridItem
- 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 withId(__v: String): GridItem
- def withImage(__v: ImageComponent): GridItem
- def withLayout(__v: GridItemLayout): GridItem
- def withSubtitle(__v: String): GridItem
- def withTitle(__v: String): GridItem
- def withUnknownFields(__v: UnknownFieldSet): GridItem
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- GridItem → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage