AlertPolicyCondition class

Constructors

AlertPolicyCondition({Input<AlertPolicyConditionConditionAbsent?>? conditionAbsent, Input<AlertPolicyConditionConditionMatchedLog?>? conditionMatchedLog, Input<AlertPolicyConditionConditionMonitoringQueryLanguage?>? conditionMonitoringQueryLanguage, Input<AlertPolicyConditionConditionPrometheusQueryLanguage?>? conditionPrometheusQueryLanguage, Input<AlertPolicyConditionConditionSql?>? conditionSql, Input<AlertPolicyConditionConditionThreshold?>? conditionThreshold, required Input<String> displayName, Input<String?>? name})
Creates a new AlertPolicyCondition. conditionAbsent A condition that checks that a time series conditionMatchedLog A condition that checks for log messages matching given constraints. conditionMonitoringQueryLanguage A Monitoring Query Language query that outputs a boolean stream conditionPrometheusQueryLanguage A condition type that allows alert policies to be defined using conditionSql A condition that allows alerting policies to be defined using GoogleSQL. conditionThreshold A condition that compares a time series against a displayName A short name or phrase used to identify the name (Output)
const
AlertPolicyCondition.fromMap(Map<String, dynamic> map)
factory

Properties

conditionAbsent → Input<AlertPolicyConditionConditionAbsent?>?
A condition that checks that a time series continues to receive new data points. Structure is documented below.
final
conditionMatchedLog → Input<AlertPolicyConditionConditionMatchedLog?>?
A condition that checks for log messages matching given constraints. If set, no other conditions can be present. Structure is documented below.
final
conditionMonitoringQueryLanguage → Input<AlertPolicyConditionConditionMonitoringQueryLanguage?>?
A Monitoring Query Language query that outputs a boolean stream Structure is documented below.
final
conditionPrometheusQueryLanguage → Input<AlertPolicyConditionConditionPrometheusQueryLanguage?>?
A condition type that allows alert policies to be defined using Prometheus Query Language (PromQL). The PrometheusQueryLanguageCondition message contains information from a Prometheus alerting rule and its associated rule group. Structure is documented below.
final
conditionSql → Input<AlertPolicyConditionConditionSql?>?
A condition that allows alerting policies to be defined using GoogleSQL. SQL conditions examine a sliding window of logs using GoogleSQL. Alert policies with SQL conditions may incur additional billing. Structure is documented below.
final
conditionThreshold → Input<AlertPolicyConditionConditionThreshold?>?
A condition that compares a time series against a threshold. Structure is documented below.
final
displayName → Input<String>
A short name or phrase used to identify the condition in dashboards, notifications, and incidents. To avoid confusion, don't use the same display name for multiple conditions in the same policy.
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String?>?
(Output) The unique resource name for this condition. Its syntax is: projects/PROJECT_ID/alertPolicies/POLICY_ID/conditions/CONDITION_ID CONDITION_ID is assigned by Stackdriver Monitoring when the condition is created as part of a new or updated alerting policy.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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