View Source GoogleApi.Redis.V1beta1.Model.TypedValue (google_api_redis v0.50.0)

TypedValue represents the value of a metric type. It can either be a double, an int64, a string or a bool.

Attributes

  • boolValue (type: boolean(), default: nil) - For boolean value
  • doubleValue (type: float(), default: nil) - For double value
  • int64Value (type: String.t, default: nil) - For integer value
  • stringValue (type: String.t, default: nil) - For string value

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Redis.V1beta1.Model.TypedValue{
  boolValue: boolean() | nil,
  doubleValue: float() | nil,
  int64Value: String.t() | nil,
  stringValue: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.