Class: Google::Apis::MonitoringV3::TimeSeriesData
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV3::TimeSeriesData
- 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
Represents the values of a time series associated with a TimeSeriesDescriptor.
Instance Attribute Summary collapse
-
#label_values ⇒ Array<Google::Apis::MonitoringV3::LabelValue>
The values of the labels in the time series identifier, given in the same order as the label_descriptors field of the TimeSeriesDescriptor associated with this object.
-
#point_data ⇒ Array<Google::Apis::MonitoringV3::PointData>
The points in the time series.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TimeSeriesData
constructor
A new instance of TimeSeriesData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TimeSeriesData
Returns a new instance of TimeSeriesData.
3690 3691 3692 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 3690 def initialize(**args) update!(**args) end |
Instance Attribute Details
#label_values ⇒ Array<Google::Apis::MonitoringV3::LabelValue>
The values of the labels in the time series identifier, given in the same
order as the label_descriptors field of the TimeSeriesDescriptor associated
with this object. Each value must have a value of the type given in the
corresponding entry of label_descriptors.
Corresponds to the JSON property labelValues
3683 3684 3685 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 3683 def label_values @label_values end |
#point_data ⇒ Array<Google::Apis::MonitoringV3::PointData>
The points in the time series.
Corresponds to the JSON property pointData
3688 3689 3690 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 3688 def point_data @point_data end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3695 3696 3697 3698 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 3695 def update!(**args) @label_values = args[:label_values] if args.key?(:label_values) @point_data = args[:point_data] if args.key?(:point_data) end |