GoogleApi.Spanner.V1.Model.DerivedMetric (google_api_spanner v0.48.0)

View Source

A message representing a derived metric.

Attributes

  • denominator (type: GoogleApi.Spanner.V1.Model.LocalizedString.t, default: nil) - The name of the denominator metric. e.g. "rows".
  • numerator (type: GoogleApi.Spanner.V1.Model.LocalizedString.t, default: nil) - The name of the numerator metric. e.g. "latency".

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Spanner.V1.Model.DerivedMetric{
  denominator: GoogleApi.Spanner.V1.Model.LocalizedString.t() | nil,
  numerator: GoogleApi.Spanner.V1.Model.LocalizedString.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.