Google Cloud Monitoring v3 API - Class AlertPolicy.Types.AlertStrategy (3.13.0)

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.

Inheritance

object > AlertPolicy.Types.AlertStrategy

Namespace

Google.Cloud.Monitoring.V3

Assembly

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 alerting 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

NotificationPrompts

public RepeatedField<AlertPolicy.Types.AlertStrategy.Types.NotificationPrompt> NotificationPrompts { get; }

For log-based alert policies, the notification prompts is always [OPENED]. For non log-based alert policies, the notification prompts can be [OPENED] or [OPENED, CLOSED].

Property Value
Type Description
RepeatedFieldAlertPolicyTypesAlertStrategyTypesNotificationPrompt

NotificationRateLimit

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

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.

Property Value
Type Description
AlertPolicyTypesAlertStrategyTypesNotificationRateLimit