Cloud Monitoring V3 API - Class Google::Cloud::Monitoring::V3::Point (v0.7.1)

Reference documentation and code samples for the Cloud Monitoring V3 API class Google::Cloud::Monitoring::V3::Point.

A single data point in a time series.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#interval

def interval() -> ::Google::Cloud::Monitoring::V3::TimeInterval
Returns
  • (::Google::Cloud::Monitoring::V3::TimeInterval) — 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.

#interval=

def interval=(value) -> ::Google::Cloud::Monitoring::V3::TimeInterval
Parameter
  • value (::Google::Cloud::Monitoring::V3::TimeInterval) — 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.
Returns
  • (::Google::Cloud::Monitoring::V3::TimeInterval) — 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

def value() -> ::Google::Cloud::Monitoring::V3::TypedValue
Returns

#value=

def value=(value) -> ::Google::Cloud::Monitoring::V3::TypedValue
Parameter
Returns