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

A single data point in a time series.

Attributes

  • interval (type: GoogleApi.Monitoring.V3.Model.TimeInterval.t, default: nil) - The time interval to which the data point applies. For GAUGE metrics, the start time is optional, but if it is supplied, it must equal the end time. For DELTA metrics, the start and end time should specify a non-zero interval, with subsequent points specifying contiguous and non-overlapping intervals. For CUMULATIVE metrics, the start and end time should specify a non-zero interval, with subsequent points specifying the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points.
  • value (type: GoogleApi.Monitoring.V3.Model.TypedValue.t, default: nil) - The value of the data point.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Monitoring.V3.Model.Point{
  interval: GoogleApi.Monitoring.V3.Model.TimeInterval.t() | nil,
  value: GoogleApi.Monitoring.V3.Model.TypedValue.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.