Class AlertPolicy.Types.AlertStrategy (3.1.0)

public sealed class AlertStrategy : IMessage<AlertPolicy.Types.AlertStrategy>, IEquatable<AlertPolicy.Types.AlertStrategy>, IDeepCloneable<AlertPolicy.Types.AlertStrategy>, IBufferMessage, IMessage

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

Inheritance

Object > AlertPolicy.Types.AlertStrategy

Namespace

Google.Cloud.Monitoring.V3

Assembly

Google.Cloud.Monitoring.V3.dll

Constructors

AlertStrategy()

public AlertStrategy()

AlertStrategy(AlertPolicy.Types.AlertStrategy)

public AlertStrategy(AlertPolicy.Types.AlertStrategy other)
Parameter
NameDescription
otherAlertPolicy.Types.AlertStrategy

Properties

AutoClose

public Duration AutoClose { get; set; }

If an alert policy that was active has no data for this long, any open incidents will close

Property Value
TypeDescription
Duration

NotificationRateLimit

public AlertPolicy.Types.AlertStrategy.Types.NotificationRateLimit NotificationRateLimit { get; set; }

Required for alert policies with a LogMatch condition.

This limit is not implemented for alert policies that are not log-based.

Property Value
TypeDescription
AlertPolicy.Types.AlertStrategy.Types.NotificationRateLimit