GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2BadgeColors (google_api_drive_labels v0.3.0)

View Source

The color derived from BadgeConfig and changed to the closest recommended supported color.

Attributes

  • backgroundColor (type: GoogleApi.DriveLabels.V2.Model.GoogleTypeColor.t, default: nil) - Output only. Badge background that pairs with the foreground.
  • foregroundColor (type: GoogleApi.DriveLabels.V2.Model.GoogleTypeColor.t, default: nil) - Output only. Badge foreground that pairs with the background.
  • soloColor (type: GoogleApi.DriveLabels.V2.Model.GoogleTypeColor.t, default: nil) - Output only. Color that can be used for text without a background.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2BadgeColors{
  backgroundColor: GoogleApi.DriveLabels.V2.Model.GoogleTypeColor.t() | nil,
  foregroundColor: GoogleApi.DriveLabels.V2.Model.GoogleTypeColor.t() | nil,
  soloColor: GoogleApi.DriveLabels.V2.Model.GoogleTypeColor.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.