View Source GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2Color (google_api_dlp v0.46.0)

Represents a color in the RGB color space.

Attributes

  • blue (type: number(), default: nil) - The amount of blue in the color as a value in the interval [0, 1].
  • green (type: number(), default: nil) - The amount of green in the color as a value in the interval [0, 1].
  • red (type: number(), default: nil) - The amount of red in the color as a value in the interval [0, 1].

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2Color{
  blue: number() | nil,
  green: number() | nil,
  red: number() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.