public sealed class AlertPolicy.Types.AlertStrategy : IMessage<AlertPolicy.Types.AlertStrategy>, IEquatable<AlertPolicy.Types.AlertStrategy>, IDeepCloneable<AlertPolicy.Types.AlertStrategy>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Monitoring v3 API class AlertPolicy.Types.AlertStrategy.
Control over how the notification channels in notification_channels
are notified when this alert fires.
Implements
IMessageAlertPolicyTypesAlertStrategy, IEquatableAlertPolicyTypesAlertStrategy, IDeepCloneableAlertPolicyTypesAlertStrategy, IBufferMessage, IMessageNamespace
Google.Cloud.Monitoring.V3Assembly
Google.Cloud.Monitoring.V3.dll
Constructors
AlertStrategy()
public AlertStrategy()
AlertStrategy(AlertStrategy)
public AlertStrategy(AlertPolicy.Types.AlertStrategy other)
Parameter | |
---|---|
Name | Description |
other |
AlertPolicyTypesAlertStrategy |
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 |
NotificationChannelStrategy
public RepeatedField<AlertPolicy.Types.AlertStrategy.Types.NotificationChannelStrategy> NotificationChannelStrategy { get; }
Control how notifications will be sent out, on a per-channel basis.
Property Value | |
---|---|
Type | Description |
RepeatedFieldAlertPolicyTypesAlertStrategyTypesNotificationChannelStrategy |
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 |
AlertPolicyTypesAlertStrategyTypesNotificationRateLimit |