Class: Google::Cloud::Monitoring::V3::AlertPolicy::AlertStrategy
- Inherits:
-
Object
- Object
- Google::Cloud::Monitoring::V3::AlertPolicy::AlertStrategy
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/monitoring/v3/alert.rb
Overview
Control over how the notification channels in notification_channels
are notified when this alert fires.
Defined Under Namespace
Classes: NotificationRateLimit
Instance Attribute Summary collapse
-
#auto_close ⇒ ::Google::Protobuf::Duration
If an alert policy that was active has no data for this long, any open incidents will close.
-
#notification_rate_limit ⇒ ::Google::Cloud::Monitoring::V3::AlertPolicy::AlertStrategy::NotificationRateLimit
Required for alert policies with a
LogMatch
condition.
Instance Attribute Details
#auto_close ⇒ ::Google::Protobuf::Duration
Returns If an alert policy that was active has no data for this long, any open incidents will close.
445 446 447 448 449 450 451 452 453 454 455 456 457 458 |
# File 'proto_docs/google/monitoring/v3/alert.rb', line 445 class AlertStrategy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Control over the rate of notifications sent to this alert policy's # notification channels. # @!attribute [rw] period # @return [::Google::Protobuf::Duration] # Not more than one notification per `period`. class NotificationRateLimit include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#notification_rate_limit ⇒ ::Google::Cloud::Monitoring::V3::AlertPolicy::AlertStrategy::NotificationRateLimit
Returns Required for alert policies with a LogMatch
condition.
This limit is not implemented for alert policies that are not log-based.
445 446 447 448 449 450 451 452 453 454 455 456 457 458 |
# File 'proto_docs/google/monitoring/v3/alert.rb', line 445 class AlertStrategy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Control over the rate of notifications sent to this alert policy's # notification channels. # @!attribute [rw] period # @return [::Google::Protobuf::Duration] # Not more than one notification per `period`. class NotificationRateLimit include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |