class Google::Apis::CloudmonitoringV2beta2::Timeseries

The monitoring data is organized as metrics and stored as data points that are recorded over time. Each data point represents information like the CPU utilization of your virtual machine. A historical record of these data points is called a time series.

Attributes

points[RW]

The data points of this time series. The points are listed in order of their end timestamp, from younger to older. Corresponds to the JSON property `points` @return [Array<Google::Apis::CloudmonitoringV2beta2::Point>]

timeseries_desc[RW]

TimeseriesDescriptor identifies a single time series. Corresponds to the JSON property `timeseriesDesc` @return [Google::Apis::CloudmonitoringV2beta2::TimeseriesDescriptor]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/cloudmonitoring_v2beta2/classes.rb, line 537
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/cloudmonitoring_v2beta2/classes.rb, line 542
def update!(**args)
  @points = args[:points] if args.key?(:points)
  @timeseries_desc = args[:timeseries_desc] if args.key?(:timeseries_desc)
end