Class: Google::Monitoring::V3::CreateTimeSeriesRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/metric_service.rb

Overview

The +CreateTimeSeries+ request.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

Returns The project on which to execute the request. The format is +"projects/project_id_or_number"+.

Returns:

  • (String)

    The project on which to execute the request. The format is +"projects/project_id_or_number"+.



212
# File 'lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/metric_service.rb', line 212

class CreateTimeSeriesRequest; end

#time_seriesArray<Google::Monitoring::V3::TimeSeries>

Returns 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.

Returns:

  • (Array<Google::Monitoring::V3::TimeSeries>)

    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.



212
# File 'lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/metric_service.rb', line 212

class CreateTimeSeriesRequest; end