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.
4513 4514 4515 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 4513 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
4506 4507 4508 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 4506 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
4511 4512 4513 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 4511 def point_descriptors @point_descriptors end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4518 4519 4520 4521 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 4518 def update!(**args) @label_descriptors = args[:label_descriptors] if args.key?(:label_descriptors) @point_descriptors = args[:point_descriptors] if args.key?(:point_descriptors) end |