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 
GAUGEmetrics, the start time is optional, but if it is supplied, it must equal the end time. ForDELTAmetrics, the start and end time should specify a non-zero interval, with subsequent points specifying contiguous and non-overlapping intervals. ForCUMULATIVEmetrics, 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 
GAUGEmetrics, the start time is optional, but if it is supplied, it must equal the end time. ForDELTAmetrics, the start and end time should specify a non-zero interval, with subsequent points specifying contiguous and non-overlapping intervals. ForCUMULATIVEmetrics, 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 
GAUGEmetrics, the start time is optional, but if it is supplied, it must equal the end time. ForDELTAmetrics, the start and end time should specify a non-zero interval, with subsequent points specifying contiguous and non-overlapping intervals. ForCUMULATIVEmetrics, 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
    
  - (::Google::Cloud::Monitoring::V3::TypedValue) — The value of the data point.
 
#value=
def value=(value) -> ::Google::Cloud::Monitoring::V3::TypedValue
    Parameter
    
  - value (::Google::Cloud::Monitoring::V3::TypedValue) — The value of the data point.
 
    Returns
    
- (::Google::Cloud::Monitoring::V3::TypedValue) — The value of the data point.