View Source GoogleApi.Spanner.V1.Model.DerivedMetric (google_api_spanner v0.38.0)

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

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

Functions

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

Unwrap a decoded JSON object into its complex fields.