public static interface AlertPolicy.AlertStrategyOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.Duration |
getAutoClose()
If an alerting policy that was active has no data for this long, any open
incidents will close
.google.protobuf.Duration auto_close = 3; |
com.google.protobuf.DurationOrBuilder |
getAutoCloseOrBuilder()
If an alerting policy that was active has no data for this long, any open
incidents will close
.google.protobuf.Duration auto_close = 3; |
AlertPolicy.AlertStrategy.NotificationChannelStrategy |
getNotificationChannelStrategy(int index)
Control how notifications will be sent out, on a per-channel basis.
|
int |
getNotificationChannelStrategyCount()
Control how notifications will be sent out, on a per-channel basis.
|
List<AlertPolicy.AlertStrategy.NotificationChannelStrategy> |
getNotificationChannelStrategyList()
Control how notifications will be sent out, on a per-channel basis.
|
AlertPolicy.AlertStrategy.NotificationChannelStrategyOrBuilder |
getNotificationChannelStrategyOrBuilder(int index)
Control how notifications will be sent out, on a per-channel basis.
|
List<? extends AlertPolicy.AlertStrategy.NotificationChannelStrategyOrBuilder> |
getNotificationChannelStrategyOrBuilderList()
Control how notifications will be sent out, on a per-channel basis.
|
AlertPolicy.AlertStrategy.NotificationPrompt |
getNotificationPrompts(int index)
For log-based alert policies, the notification prompts is always
[OPENED].
|
int |
getNotificationPromptsCount()
For log-based alert policies, the notification prompts is always
[OPENED].
|
List<AlertPolicy.AlertStrategy.NotificationPrompt> |
getNotificationPromptsList()
For log-based alert policies, the notification prompts is always
[OPENED].
|
int |
getNotificationPromptsValue(int index)
For log-based alert policies, the notification prompts is always
[OPENED].
|
List<Integer> |
getNotificationPromptsValueList()
For log-based alert policies, the notification prompts is always
[OPENED].
|
AlertPolicy.AlertStrategy.NotificationRateLimit |
getNotificationRateLimit()
Required for log-based alerting policies, i.e. policies with a `LogMatch`
condition.
|
AlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder |
getNotificationRateLimitOrBuilder()
Required for log-based alerting policies, i.e. policies with a `LogMatch`
condition.
|
boolean |
hasAutoClose()
If an alerting policy that was active has no data for this long, any open
incidents will close
.google.protobuf.Duration auto_close = 3; |
boolean |
hasNotificationRateLimit()
Required for log-based alerting policies, i.e. policies with a `LogMatch`
condition.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasNotificationRateLimit()
Required for log-based alerting policies, i.e. policies with a `LogMatch` condition. This limit is not implemented for alerting policies that do not have a LogMatch condition.
.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1;
AlertPolicy.AlertStrategy.NotificationRateLimit getNotificationRateLimit()
Required for log-based alerting policies, i.e. policies with a `LogMatch` condition. This limit is not implemented for alerting policies that do not have a LogMatch condition.
.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1;
AlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder getNotificationRateLimitOrBuilder()
Required for log-based alerting policies, i.e. policies with a `LogMatch` condition. This limit is not implemented for alerting policies that do not have a LogMatch condition.
.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1;
List<AlertPolicy.AlertStrategy.NotificationPrompt> getNotificationPromptsList()
For log-based alert policies, the notification prompts is always [OPENED]. For non log-based alert policies, the notification prompts can be [OPENED] or [OPENED, CLOSED].
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationPrompt notification_prompts = 2;
int getNotificationPromptsCount()
For log-based alert policies, the notification prompts is always [OPENED]. For non log-based alert policies, the notification prompts can be [OPENED] or [OPENED, CLOSED].
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationPrompt notification_prompts = 2;
AlertPolicy.AlertStrategy.NotificationPrompt getNotificationPrompts(int index)
For log-based alert policies, the notification prompts is always [OPENED]. For non log-based alert policies, the notification prompts can be [OPENED] or [OPENED, CLOSED].
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationPrompt notification_prompts = 2;
index - The index of the element to return.List<Integer> getNotificationPromptsValueList()
For log-based alert policies, the notification prompts is always [OPENED]. For non log-based alert policies, the notification prompts can be [OPENED] or [OPENED, CLOSED].
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationPrompt notification_prompts = 2;
int getNotificationPromptsValue(int index)
For log-based alert policies, the notification prompts is always [OPENED]. For non log-based alert policies, the notification prompts can be [OPENED] or [OPENED, CLOSED].
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationPrompt notification_prompts = 2;
index - The index of the value to return.boolean hasAutoClose()
If an alerting policy that was active has no data for this long, any open incidents will close
.google.protobuf.Duration auto_close = 3;com.google.protobuf.Duration getAutoClose()
If an alerting policy that was active has no data for this long, any open incidents will close
.google.protobuf.Duration auto_close = 3;com.google.protobuf.DurationOrBuilder getAutoCloseOrBuilder()
If an alerting policy that was active has no data for this long, any open incidents will close
.google.protobuf.Duration auto_close = 3;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;
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;
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;
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;
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;
Copyright © 2025 Google LLC. All rights reserved.