Cloud Monitoring V3 API - Class Google::Cloud::Monitoring::V3::AlertPolicy::AlertStrategy::NotificationChannelStrategy (v0.15.0)

Reference documentation and code samples for the Cloud Monitoring V3 API class Google::Cloud::Monitoring::V3::AlertPolicy::AlertStrategy::NotificationChannelStrategy.

Control over how the notification channels in notification_channels are notified when this alert fires, on a per-channel basis.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#notification_channel_names

def notification_channel_names() -> ::Array<::String>
Returns
  • (::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]
    

#notification_channel_names=

def notification_channel_names=(value) -> ::Array<::String>
Parameter
  • value (::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]
    
Returns
  • (::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]
    

#renotify_interval

def renotify_interval() -> ::Google::Protobuf::Duration
Returns

#renotify_interval=

def renotify_interval=(value) -> ::Google::Protobuf::Duration
Parameter
Returns