Class: Google::Apis::MonitoringV3::TimeSeriesDescriptor
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV3::TimeSeriesDescriptor
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/monitoring_v3/classes.rb,
generated/google/apis/monitoring_v3/representations.rb,
generated/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.
3715 3716 3717 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 3715 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
3708 3709 3710 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 3708 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
3713 3714 3715 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 3713 def point_descriptors @point_descriptors end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3720 3721 3722 3723 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 3720 def update!(**args) @label_descriptors = args[:label_descriptors] if args.key?(:label_descriptors) @point_descriptors = args[:point_descriptors] if args.key?(:point_descriptors) end |