Class AlertStrategy
Control over how the notification channels in notification_channels are notified when this alert fires.
Implements
Inherited Members
Namespace: Google.Apis.Monitoring.v3.Data
Assembly: Google.Apis.Monitoring.v3.dll
Syntax
public class AlertStrategy : IDirectResponseSchema
Properties
AutoClose
If an alerting policy that was active has no data for this long, any open incidents will close
Declaration
[JsonProperty("autoClose")]
public virtual object AutoClose { get; set; }
Property Value
Type | Description |
---|---|
object |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
NotificationChannelStrategy
Control how notifications will be sent out, on a per-channel basis.
Declaration
[JsonProperty("notificationChannelStrategy")]
public virtual IList<NotificationChannelStrategy> NotificationChannelStrategy { get; set; }
Property Value
Type | Description |
---|---|
IList<NotificationChannelStrategy> |
NotificationPrompts
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.
Declaration
[JsonProperty("notificationPrompts")]
public virtual IList<string> NotificationPrompts { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
NotificationRateLimit
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.
Declaration
[JsonProperty("notificationRateLimit")]
public virtual NotificationRateLimit NotificationRateLimit { get; set; }
Property Value
Type | Description |
---|---|
NotificationRateLimit |