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

Set of primitive values supported by the system. Note that for the purposes of inspection or transformation, the number of bytes considered to comprise a 'Value' is based on its representation as a UTF-8 encoded string. For example, if 'integer_value' is set to 123456789, the number of bytes would be counted as 9, even though an int64 only holds up to 8 bytes of data.

Attributes

  • booleanValue (type: boolean(), default: nil) - boolean
  • dateValue (type: GoogleApi.DLP.V2.Model.GoogleTypeDate.t, default: nil) - date
  • dayOfWeekValue (type: String.t, default: nil) - day of week
  • floatValue (type: float(), default: nil) - float
  • integerValue (type: String.t, default: nil) - integer
  • stringValue (type: String.t, default: nil) - string
  • timeValue (type: GoogleApi.DLP.V2.Model.GoogleTypeTimeOfDay.t, default: nil) - time of day
  • timestampValue (type: DateTime.t, default: nil) - timestamp

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2Value{
  booleanValue: boolean() | nil,
  dateValue: GoogleApi.DLP.V2.Model.GoogleTypeDate.t() | nil,
  dayOfWeekValue: String.t() | nil,
  floatValue: float() | nil,
  integerValue: String.t() | nil,
  stringValue: String.t() | nil,
  timeValue: GoogleApi.DLP.V2.Model.GoogleTypeTimeOfDay.t() | nil,
  timestampValue: DateTime.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.