google_api_monitoring v0.2.0 GoogleApi.Monitoring.V3.Model.TimeInterval View Source

A time interval extending just after a start time through an end time. The start time must not be later than the end time. The default start time is the end time, making the startTime value technically optional. Whether this is useful depends on the MetricKind. If the start and end times are the same, the interval represents a point in time. This is appropriate for GAUGE metrics, but not for DELTA and CUMULATIVE metrics, which cover a span of time.

Attributes

  • endTime (DateTime.t): Required. The end of the time interval. Defaults to: null.
  • startTime (DateTime.t): Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type t() View Source
t() :: %GoogleApi.Monitoring.V3.Model.TimeInterval{
  endTime: DateTime.t(),
  startTime: DateTime.t()
}

Link to this section Functions

Link to this function decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.