View Source GoogleApi.Monitoring.V3.Model.AlertStrategy (google_api_monitoring v0.55.0)

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

Attributes

  • autoClose (type: String.t, default: nil) - If an alert policy that was active has no data for this long, any open incidents will close
  • notificationChannelStrategy (type: list(GoogleApi.Monitoring.V3.Model.NotificationChannelStrategy.t), default: nil) - Control how notifications will be sent out, on a per-channel basis.
  • notificationRateLimit (type: GoogleApi.Monitoring.V3.Model.NotificationRateLimit.t, default: nil) - Required for alert policies with a LogMatch condition.This limit is not implemented for alert policies that are not log-based.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Monitoring.V3.Model.AlertStrategy{
  autoClose: String.t() | nil,
  notificationChannelStrategy:
    [GoogleApi.Monitoring.V3.Model.NotificationChannelStrategy.t()] | nil,
  notificationRateLimit:
    GoogleApi.Monitoring.V3.Model.NotificationRateLimit.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.