View Source GoogleApi.Spanner.V1.Model.ContextValue (google_api_spanner v0.39.0)

A message representing context for a KeyRangeInfo, including a label, value, unit, and severity.

Attributes

  • label (type: GoogleApi.Spanner.V1.Model.LocalizedString.t, default: nil) - The label for the context value. e.g. "latency".
  • severity (type: String.t, default: nil) - The severity of this context.
  • unit (type: String.t, default: nil) - The unit of the context value.
  • value (type: number(), default: nil) - The value for the context.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Spanner.V1.Model.ContextValue{
  label: GoogleApi.Spanner.V1.Model.LocalizedString.t() | nil,
  severity: String.t() | nil,
  unit: String.t() | nil,
  value: number() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.