class Google::Apis::MonitoringV3::CreateTimeSeriesRequest

The CreateTimeSeries request.

Attributes

time_series[RW]

Required. The new data to be added to a list of time series. Adds at most one data point to each of several time series. The new data point must be more recent than any other point in its time series. Each TimeSeries value must fully specify a unique time series by supplying all label values for the metric and the monitored resource.The maximum number of TimeSeries objects per Create request is 200. Corresponds to the JSON property `timeSeries` @return [Array<Google::Apis::MonitoringV3::TimeSeries>]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/monitoring_v3/classes.rb, line 932
def update!(**args)
  @time_series = args[:time_series] if args.key?(:time_series)
end