GoogleApi.Chat.V1.Model.GoogleAppsCardV1GridItem (google_api_chat v0.30.1) View Source

Represents a single item in the grid layout.

Attributes

  • id (type: String.t, default: nil) - A user-specified identifier for this grid item. This identifier is returned in the parent Grid's onClick callback parameters.
  • image (type: GoogleApi.Chat.V1.Model.GoogleAppsCardV1ImageComponent.t, default: nil) - The image that displays in the grid item.
  • layout (type: String.t, default: nil) - The layout to use for the grid item.
  • subtitle (type: String.t, default: nil) - The grid item's subtitle.
  • textAlignment (type: String.t, default: nil) - The horizontal alignment of the grid item's text.
  • title (type: String.t, default: nil) - The grid item's title.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Chat.V1.Model.GoogleAppsCardV1GridItem{
  id: String.t() | nil,
  image: GoogleApi.Chat.V1.Model.GoogleAppsCardV1ImageComponent.t() | nil,
  layout: String.t() | nil,
  subtitle: String.t() | nil,
  textAlignment: String.t() | nil,
  title: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.