Method: Google::Cloud::Monitoring::V3::TimeSeries#metric_kind

Defined in:
proto_docs/google/monitoring/v3/metric.rb

#metric_kind::Google::Api::MetricDescriptor::MetricKind

Returns The metric kind of the time series. When listing time series, this metric kind might be different from the metric kind of the associated metric if this time series is an alignment or reduction of other time series.

When creating a time series, this field is optional. If present, it must be the same as the metric kind of the associated metric. If the associated metric's descriptor must be auto-created, then this field specifies the metric kind of the new descriptor and must be either GAUGE (the default) or CUMULATIVE.

Returns:

  • (::Google::Api::MetricDescriptor::MetricKind)

    The metric kind of the time series. When listing time series, this metric kind might be different from the metric kind of the associated metric if this time series is an alignment or reduction of other time series.

    When creating a time series, this field is optional. If present, it must be the same as the metric kind of the associated metric. If the associated metric's descriptor must be auto-created, then this field specifies the metric kind of the new descriptor and must be either GAUGE (the default) or CUMULATIVE.

[View source]

97
98
99
100
# File 'proto_docs/google/monitoring/v3/metric.rb', line 97

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