class Google::Apis::CloudmonitoringV2beta2::TimeseriesPoint
When writing time series, TimeseriesPoint should be used instead of Timeseries, to enforce single point for each time series in the timeseries.write request.
Attributes
point[RW]
Point is a single point in a time series. It consists of a start time, an end time, and a value. Corresponds to the JSON property `point` @return [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 620 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 625 def update!(**args) @point = args[:point] if args.key?(:point) @timeseries_desc = args[:timeseries_desc] if args.key?(:timeseries_desc) end