TimeSeries class
A collection of data points that describes the time-varying values of a metric.
A time series is identified by a combination of a fully-specified monitored resource and a fully-specified metric. This type is used for both listing and creating time series.
Constructors
-
TimeSeries({MonitoredResourceMetadata? metadata, Metric? metric, String? metricKind, List<
Point> ? points, MonitoredResource? resource, String? unit, String? valueType}) - TimeSeries.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- metadata ↔ MonitoredResourceMetadata?
-
The associated monitored resource metadata.
getter/setter pair
- metric ↔ Metric?
-
The associated metric.
getter/setter pair
- metricKind ↔ String?
-
The metric kind of the time series.
getter/setter pair
-
points
↔ List<
Point> ? -
The data points of this time series.
getter/setter pair
- resource ↔ MonitoredResource?
-
The associated monitored resource.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- unit ↔ String?
-
The units in which the metric value is reported.
getter/setter pair
- valueType ↔ String?
-
The value type of the time series.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited