AlertStrategy class
Control over how the notification channels in notification_channels are notified when this alert fires.
Constructors
-
AlertStrategy.new({String? autoClose, List<
NotificationChannelStrategy> ? notificationChannelStrategy, List<String> ? notificationPrompts, NotificationRateLimit? notificationRateLimit}) - AlertStrategy.fromJson(Map json_)
Properties
- autoClose ↔ String?
-
If an alerting policy that was active has no data for this long, any open
incidents will close
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
notificationChannelStrategy
↔ List<
NotificationChannelStrategy> ? -
Control how notifications will be sent out, on a per-channel basis.
getter/setter pair
-
notificationPrompts
↔ List<
String> ? -
For log-based alert policies, the notification prompts is always OPENED.
getter/setter pair
- notificationRateLimit ↔ NotificationRateLimit?
-
Required for log-based alerting policies, i.e. policies with a LogMatch
condition.This limit is not implemented for alerting policies that do not
have a LogMatch condition.
getter/setter pair
- 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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited