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

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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.