Class AlertStrategy (2.21.0)

AlertStrategy(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Control over how the notification channels in notification_channels are notified when this alert fires.

Attributes

Name Description
notification_rate_limit google.cloud.monitoring_v3.types.AlertPolicy.AlertStrategy.NotificationRateLimit
Required for alert policies with a LogMatch condition. This limit is not implemented for alert policies that are not log-based.
auto_close google.protobuf.duration_pb2.Duration
If an alert policy that was active has no data for this long, any open incidents will close
notification_channel_strategy MutableSequence[google.cloud.monitoring_v3.types.AlertPolicy.AlertStrategy.NotificationChannelStrategy]
Control how notifications will be sent out, on a per-channel basis.

Classes

NotificationChannelStrategy

NotificationChannelStrategy(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Control over how the notification channels in notification_channels are notified when this alert fires, on a per-channel basis.

NotificationRateLimit

NotificationRateLimit(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Control over the rate of notifications sent to this alert policy's notification channels.