GoogleApi.Chat.V1.Model.GoogleAppsCardV1ImageComponent (google_api_chat v0.30.0) View Source

Attributes

  • altText (type: String.t, default: nil) - The accessibility label for the image.
  • borderStyle (type: GoogleApi.Chat.V1.Model.GoogleAppsCardV1BorderStyle.t, default: nil) - The border style to apply to the image.
  • cropStyle (type: GoogleApi.Chat.V1.Model.GoogleAppsCardV1ImageCropStyle.t, default: nil) - The crop style to apply to the image.
  • imageUri (type: String.t, default: nil) - The image URL.

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.GoogleAppsCardV1ImageComponent{
  altText: String.t() | nil,
  borderStyle: GoogleApi.Chat.V1.Model.GoogleAppsCardV1BorderStyle.t() | nil,
  cropStyle: GoogleApi.Chat.V1.Model.GoogleAppsCardV1ImageCropStyle.t() | nil,
  imageUri: String.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.