Interface AlertPolicy.AlertStrategyOrBuilder

    • Method Detail

      • hasNotificationRateLimit

        boolean hasNotificationRateLimit()
         Required for alert policies with a `LogMatch` condition.
        
         This limit is not implemented for alert policies that are not log-based.
         
        .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1;
        Returns:
        Whether the notificationRateLimit field is set.
      • getNotificationRateLimit

        AlertPolicy.AlertStrategy.NotificationRateLimit getNotificationRateLimit()
         Required for alert policies with a `LogMatch` condition.
        
         This limit is not implemented for alert policies that are not log-based.
         
        .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1;
        Returns:
        The notificationRateLimit.
      • getNotificationRateLimitOrBuilder

        AlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder getNotificationRateLimitOrBuilder()
         Required for alert policies with a `LogMatch` condition.
        
         This limit is not implemented for alert policies that are not log-based.
         
        .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1;
      • hasAutoClose

        boolean hasAutoClose()
         If an alert policy that was active has no data for this long, any open
         incidents will close
         
        .google.protobuf.Duration auto_close = 3;
        Returns:
        Whether the autoClose field is set.
      • getAutoClose

        com.google.protobuf.Duration getAutoClose()
         If an alert policy that was active has no data for this long, any open
         incidents will close
         
        .google.protobuf.Duration auto_close = 3;
        Returns:
        The autoClose.
      • getAutoCloseOrBuilder

        com.google.protobuf.DurationOrBuilder getAutoCloseOrBuilder()
         If an alert policy that was active has no data for this long, any open
         incidents will close
         
        .google.protobuf.Duration auto_close = 3;
      • getNotificationChannelStrategyList

        List<AlertPolicy.AlertStrategy.NotificationChannelStrategy> getNotificationChannelStrategyList()
         Control how notifications will be sent out, on a per-channel basis.
         
        repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationChannelStrategy notification_channel_strategy = 4;
      • getNotificationChannelStrategy

        AlertPolicy.AlertStrategy.NotificationChannelStrategy getNotificationChannelStrategy​(int index)
         Control how notifications will be sent out, on a per-channel basis.
         
        repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationChannelStrategy notification_channel_strategy = 4;
      • getNotificationChannelStrategyCount

        int getNotificationChannelStrategyCount()
         Control how notifications will be sent out, on a per-channel basis.
         
        repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationChannelStrategy notification_channel_strategy = 4;
      • getNotificationChannelStrategyOrBuilderList

        List<? extends AlertPolicy.AlertStrategy.NotificationChannelStrategyOrBuilder> getNotificationChannelStrategyOrBuilderList()
         Control how notifications will be sent out, on a per-channel basis.
         
        repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationChannelStrategy notification_channel_strategy = 4;
      • getNotificationChannelStrategyOrBuilder

        AlertPolicy.AlertStrategy.NotificationChannelStrategyOrBuilder getNotificationChannelStrategyOrBuilder​(int index)
         Control how notifications will be sent out, on a per-channel basis.
         
        repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationChannelStrategy notification_channel_strategy = 4;