View Source GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2BadgeConfig (google_api_drive_labels v0.2.0)

Badge status of the label.

Attributes

  • color (type: GoogleApi.DriveLabels.V2.Model.GoogleTypeColor.t, default: nil) - The color of the badge. When not specified, no badge is rendered. The background, foreground, and solo (light and dark mode) colors set here are changed in the Drive UI into the closest recommended supported color.
  • priorityOverride (type: String.t, default: nil) - Override the default global priority of this badge. When set to 0, the default priority heuristic is used.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2BadgeConfig{
  color: GoogleApi.DriveLabels.V2.Model.GoogleTypeColor.t() | nil,
  priorityOverride: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.