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

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.
  • 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.

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.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,
  unit: GoogleApi.Spanner.V1.Model.LocalizedString.t() | nil,
  value: number() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.