Class: Google::Cloud::Monitoring::V3::AlertPolicy::AlertStrategy

Inherits:
Object
  • Object
show all
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

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.

Returns:



615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
# File 'proto_docs/google/monitoring/v3/alert.rb', line 615

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.

Returns:



615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
# File 'proto_docs/google/monitoring/v3/alert.rb', line 615

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.

Returns:



615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
# File 'proto_docs/google/monitoring/v3/alert.rb', line 615

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