lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/metric.rb in google-cloud-monitoring-0.32.0 vs lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/metric.rb in google-cloud-monitoring-0.33.0
- old
+ new
@@ -18,16 +18,17 @@
module V3
# A single data point in a time series.
# @!attribute [rw] interval
# @return [Google::Monitoring::V3::TimeInterval]
# The time interval to which the data point applies. For `GAUGE` metrics,
- # only the end time of the interval is used. 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.
+ # 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.
# @!attribute [rw] value
# @return [Google::Monitoring::V3::TypedValue]
# The value of the data point.
class Point; end
\ No newline at end of file