Condition class Null safety

A condition is a true/false test that determines when an alerting policy should open an incident.

If a condition evaluates to true, it signifies that something is wrong.

Constructors

Condition({MetricAbsence? conditionAbsent, LogMatch? conditionMatchedLog, MonitoringQueryLanguageCondition? conditionMonitoringQueryLanguage, MetricThreshold? conditionThreshold, String? displayName, String? name})
Condition.fromJson(Map json_)

Properties

conditionAbsent MetricAbsence?
A condition that checks that a time series continues to receive new data points.
read / write
conditionMatchedLog LogMatch?
A condition that checks for log messages matching given constraints.
read / write
conditionMonitoringQueryLanguage MonitoringQueryLanguageCondition?
A condition that uses the Monitoring Query Language to define alerts.
read / write
conditionThreshold MetricThreshold?
A condition that compares a time series against a threshold.
read / write
displayName String?
A short name or phrase used to identify the condition in dashboards, notifications, and incidents.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
name String?
Required if the condition exists.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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