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

Represents the crop style applied to an image.

Attributes

  • aspectRatio (type: float(), default: nil) - The aspect ratio to use if the crop type is RECTANGLE_CUSTOM.
  • type (type: String.t, default: nil) - The crop type.

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.GoogleAppsCardV1ImageCropStyle{
  aspectRatio: float() | nil,
  type: String.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.