MetricAbsence class Null safety

A condition type that checks that monitored resources are reporting data.

The configuration defines a metric and a set of monitored resources. The predicate is considered in violation when a time series for the specified metric of a monitored resource does not include any data in the specified duration.


MetricAbsence({List<Aggregation>? aggregations, String? duration, String? filter, Trigger? trigger})
MetricAbsence.fromJson(Map json_)


aggregations List<Aggregation>?
Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resources).
read / write
duration String?
The amount of time that a time series must fail to report new data to be considered failing.
read / write
filter String?
A filter ( that identifies which time series should be compared with the threshold.The filter is similar to the one that is specified in the ListTimeSeries request ( (that call is useful to verify the time series that will be retrieved / processed).
read / write
hashCode int
The hash code for this object.
runtimeType Type
A representation of the runtime type of the object.
trigger Trigger?
The number/percent of time series for which the comparison must hold in order for the condition to trigger.
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toJson() Map<String, dynamic>
toString() String
A string representation of this object.


operator ==(Object other) bool
The equality operator.