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: NotificationChannelStrategy, 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_channel_strategy ⇒ ::Array<::Google::Cloud::Monitoring::V3::AlertPolicy::AlertStrategy::NotificationChannelStrategy>
Control how notifications will be sent out, on a per-channel basis.
-
#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.
637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 |
# File 'proto_docs/google/monitoring/v3/alert.rb', line 637 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 # Control over how the notification channels in `notification_channels` # are notified when this alert fires, on a per-channel basis. # @!attribute [rw] notification_channel_names # @return [::Array<::String>] # The full REST resource name for the notification channels that these # settings apply to. Each of these correspond to the name field in one # of the NotificationChannel objects referenced in the # notification_channels field of this AlertPolicy. # The format is: # # projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID] # @!attribute [rw] renotify_interval # @return [::Google::Protobuf::Duration] # The frequency at which to send reminder notifications for open # incidents. class NotificationChannelStrategy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#notification_channel_strategy ⇒ ::Array<::Google::Cloud::Monitoring::V3::AlertPolicy::AlertStrategy::NotificationChannelStrategy>
Returns Control how notifications will be sent out, on a per-channel basis.
637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 |
# File 'proto_docs/google/monitoring/v3/alert.rb', line 637 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 # Control over how the notification channels in `notification_channels` # are notified when this alert fires, on a per-channel basis. # @!attribute [rw] notification_channel_names # @return [::Array<::String>] # The full REST resource name for the notification channels that these # settings apply to. Each of these correspond to the name field in one # of the NotificationChannel objects referenced in the # notification_channels field of this AlertPolicy. # The format is: # # projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID] # @!attribute [rw] renotify_interval # @return [::Google::Protobuf::Duration] # The frequency at which to send reminder notifications for open # incidents. class NotificationChannelStrategy 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.
637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 |
# File 'proto_docs/google/monitoring/v3/alert.rb', line 637 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 # Control over how the notification channels in `notification_channels` # are notified when this alert fires, on a per-channel basis. # @!attribute [rw] notification_channel_names # @return [::Array<::String>] # The full REST resource name for the notification channels that these # settings apply to. Each of these correspond to the name field in one # of the NotificationChannel objects referenced in the # notification_channels field of this AlertPolicy. # The format is: # # projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID] # @!attribute [rw] renotify_interval # @return [::Google::Protobuf::Duration] # The frequency at which to send reminder notifications for open # incidents. class NotificationChannelStrategy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |