class Google::Apis::MonitoringV3::AlertStrategy
Control over how the notification channels in notification_channels are notified when this alert fires.
Attributes
auto_close[RW]
If an alert policy that was active has no data for this log, any open incidents will close Corresponds to the JSON property `autoClose` @return [String]
notification_rate_limit[RW]
Control over the rate of notifications sent to this alert policy's notification channels. Corresponds to the JSON property `notificationRateLimit` @return [Google::Apis::MonitoringV3::NotificationRateLimit]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/monitoring_v3/classes.rb, line 256 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/monitoring_v3/classes.rb, line 261 def update!(**args) @auto_close = args[:auto_close] if args.key?(:auto_close) @notification_rate_limit = args[:notification_rate_limit] if args.key?(:notification_rate_limit) end