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.

Constructors

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

Properties

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 (https://cloud.google.com/monitoring/api/v3/filters) 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 (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list) (that call is useful to verify the time series that will be retrieved / processed).
read / write
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
trigger Trigger?
The number/percent of time series for which the comparison must hold in order for the condition to trigger.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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