Class: Google::Cloud::Monitoring::V3::TimeSeriesDescriptor
- Inherits:
-
Object
- Object
- Google::Cloud::Monitoring::V3::TimeSeriesDescriptor
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/monitoring/v3/metric.rb
Overview
A descriptor for the labels and points in a time series.
Defined Under Namespace
Classes: ValueDescriptor
Instance Attribute Summary collapse
-
#label_descriptors ⇒ ::Array<::Google::Api::LabelDescriptor>
Descriptors for the labels.
-
#point_descriptors ⇒ ::Array<::Google::Cloud::Monitoring::V3::TimeSeriesDescriptor::ValueDescriptor>
Descriptors for the point data value columns.
Instance Attribute Details
#label_descriptors ⇒ ::Array<::Google::Api::LabelDescriptor>
Returns Descriptors for the labels.
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 |
# File 'proto_docs/google/monitoring/v3/metric.rb', line 109 class TimeSeriesDescriptor include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A descriptor for the value columns in a data point. # @!attribute [rw] key # @return [::String] # The value key. # @!attribute [rw] value_type # @return [::Google::Api::MetricDescriptor::ValueType] # The value type. # @!attribute [rw] metric_kind # @return [::Google::Api::MetricDescriptor::MetricKind] # The value stream kind. # @!attribute [rw] unit # @return [::String] # The unit in which `time_series` point values are reported. `unit` # follows the UCUM format for units as seen in # https://unitsofmeasure.org/ucum.html. # `unit` is only valid if `value_type` is INTEGER, DOUBLE, DISTRIBUTION. class ValueDescriptor include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#point_descriptors ⇒ ::Array<::Google::Cloud::Monitoring::V3::TimeSeriesDescriptor::ValueDescriptor>
Returns Descriptors for the point data value columns.
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 |
# File 'proto_docs/google/monitoring/v3/metric.rb', line 109 class TimeSeriesDescriptor include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A descriptor for the value columns in a data point. # @!attribute [rw] key # @return [::String] # The value key. # @!attribute [rw] value_type # @return [::Google::Api::MetricDescriptor::ValueType] # The value type. # @!attribute [rw] metric_kind # @return [::Google::Api::MetricDescriptor::MetricKind] # The value stream kind. # @!attribute [rw] unit # @return [::String] # The unit in which `time_series` point values are reported. `unit` # follows the UCUM format for units as seen in # https://unitsofmeasure.org/ucum.html. # `unit` is only valid if `value_type` is INTEGER, DOUBLE, DISTRIBUTION. class ValueDescriptor include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |