Class: Google::Apis::MonitoringV3::TimeSeriesDescriptor
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV3::TimeSeriesDescriptor
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/monitoring_v3/classes.rb,
lib/google/apis/monitoring_v3/representations.rb,
lib/google/apis/monitoring_v3/representations.rb
Overview
A descriptor for the labels and points in a time series.
Instance Attribute Summary collapse
-
#label_descriptors ⇒ Array<Google::Apis::MonitoringV3::LabelDescriptor>
Descriptors for the labels.
-
#point_descriptors ⇒ Array<Google::Apis::MonitoringV3::ValueDescriptor>
Descriptors for the point data value columns.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TimeSeriesDescriptor
constructor
A new instance of TimeSeriesDescriptor.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TimeSeriesDescriptor
Returns a new instance of TimeSeriesDescriptor.
5060 5061 5062 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 5060 def initialize(**args) update!(**args) end |
Instance Attribute Details
#label_descriptors ⇒ Array<Google::Apis::MonitoringV3::LabelDescriptor>
Descriptors for the labels.
Corresponds to the JSON property labelDescriptors
5053 5054 5055 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 5053 def label_descriptors @label_descriptors end |
#point_descriptors ⇒ Array<Google::Apis::MonitoringV3::ValueDescriptor>
Descriptors for the point data value columns.
Corresponds to the JSON property pointDescriptors
5058 5059 5060 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 5058 def point_descriptors @point_descriptors end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5065 5066 5067 5068 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 5065 def update!(**args) @label_descriptors = args[:label_descriptors] if args.key?(:label_descriptors) @point_descriptors = args[:point_descriptors] if args.key?(:point_descriptors) end |