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

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/monitoring/v3/metric_service.rb

Overview

The CreateTimeSeries request.

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

Returns Required. The project on which to execute the request. The format is:

projects/[PROJECT_ID_OR_NUMBER].

Returns:

  • (::String)

    Required. The project on which to execute the request. The format is:

    projects/[PROJECT_ID_OR_NUMBER]
    


291
292
293
294
# File 'proto_docs/google/monitoring/v3/metric_service.rb', line 291

class CreateTimeSeriesRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#time_series::Array<::Google::Cloud::Monitoring::V3::TimeSeries>

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

Returns:

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

    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.



291
292
293
294
# File 'proto_docs/google/monitoring/v3/metric_service.rb', line 291

class CreateTimeSeriesRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end