View Source GoogleApi.Monitoring.V3.Model.MetricRange (google_api_monitoring v0.55.0)

A MetricRange is used when each window is good when the value x of a single TimeSeries satisfies range.min <= x <= range.max. The provided TimeSeries must have ValueType = INT64 or ValueType = DOUBLE and MetricKind = GAUGE.

Attributes

  • range (type: GoogleApi.Monitoring.V3.Model.GoogleMonitoringV3Range.t, default: nil) - Range of values considered "good." For a one-sided range, set one bound to an infinite value.
  • timeSeries (type: String.t, default: nil) - A monitoring filter (https://cloud.google.com/monitoring/api/v3/filters) specifying the TimeSeries to use for evaluating window quality.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Monitoring.V3.Model.MetricRange{
  range: GoogleApi.Monitoring.V3.Model.GoogleMonitoringV3Range.t() | nil,
  timeSeries: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.