public sealed class AlertStrategy : IMessage<AlertPolicy.Types.AlertStrategy>, IEquatable<AlertPolicy.Types.AlertStrategy>, IDeepCloneable<AlertPolicy.Types.AlertStrategy>, IBufferMessage, IMessageControl over how the notification channels in notification_channels
are notified when this alert fires.
Implements
IMessage<AlertPolicy.Types.AlertStrategy>, IEquatable<AlertPolicy.Types.AlertStrategy>, IDeepCloneable<AlertPolicy.Types.AlertStrategy>, IBufferMessage, IMessageNamespace
Google.Cloud.Monitoring.V3Assembly
Google.Cloud.Monitoring.V3.dll
Constructors
AlertStrategy()
public AlertStrategy()AlertStrategy(AlertPolicy.Types.AlertStrategy)
public AlertStrategy(AlertPolicy.Types.AlertStrategy other)| Parameter | |
|---|---|
| Name | Description | 
| other | AlertPolicy.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 | |
|---|---|
| Type | Description | 
| 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 | |
|---|---|
| Type | Description | 
| AlertPolicy.Types.AlertStrategy.Types.NotificationRateLimit | |