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

A message representing information for a key range (possibly one key).

Attributes

  • contextValues (type: list(GoogleApi.Spanner.V1.Model.ContextValue.t), default: nil) - The list of context values for this key range.
  • endKeyIndex (type: integer(), default: nil) - The index of the end key in indexed_keys.
  • info (type: GoogleApi.Spanner.V1.Model.LocalizedString.t, default: nil) - Information about this key range, for all metrics.
  • keysCount (type: String.t, default: nil) - The number of keys this range covers.
  • metric (type: GoogleApi.Spanner.V1.Model.LocalizedString.t, default: nil) - The name of the metric. e.g. "latency".
  • startKeyIndex (type: integer(), default: nil) - The index of the start key in indexed_keys.
  • timeOffset (type: String.t, default: nil) - The time offset. This is the time since the start of the time interval.
  • unit (type: GoogleApi.Spanner.V1.Model.LocalizedString.t, default: nil) - The unit of the metric. This is an unstructured field and will be mapped as is to the user.
  • value (type: number(), default: nil) - The value of the metric.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Spanner.V1.Model.KeyRangeInfo{
  contextValues: [GoogleApi.Spanner.V1.Model.ContextValue.t()] | nil,
  endKeyIndex: integer() | nil,
  info: GoogleApi.Spanner.V1.Model.LocalizedString.t() | nil,
  keysCount: String.t() | nil,
  metric: GoogleApi.Spanner.V1.Model.LocalizedString.t() | nil,
  startKeyIndex: integer() | nil,
  timeOffset: String.t() | nil,
  unit: GoogleApi.Spanner.V1.Model.LocalizedString.t() | nil,
  value: number() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.