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

Represents an image. Google Workspace Add-ons and Chat apps:

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type 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
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.