| Modifier and Type | Method and Description |
|---|---|
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.Builder.addAllNotificationChannelStrategy(Iterable<? extends AlertPolicy.AlertStrategy.NotificationChannelStrategy> values)
Control how notifications will be sent out, on a per-channel basis.
|
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.Builder.addAllNotificationPrompts(Iterable<? extends AlertPolicy.AlertStrategy.NotificationPrompt> values)
For log-based alert policies, the notification prompts is always
[OPENED].
|
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.Builder.addAllNotificationPromptsValue(Iterable<Integer> values)
For log-based alert policies, the notification prompts is always
[OPENED].
|
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.Builder.addNotificationChannelStrategy(AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder builderForValue)
Control how notifications will be sent out, on a per-channel basis.
|
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.Builder.addNotificationChannelStrategy(AlertPolicy.AlertStrategy.NotificationChannelStrategy value)
Control how notifications will be sent out, on a per-channel basis.
|
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.Builder.addNotificationChannelStrategy(int index,
AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder builderForValue)
Control how notifications will be sent out, on a per-channel basis.
|
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.Builder.addNotificationChannelStrategy(int index,
AlertPolicy.AlertStrategy.NotificationChannelStrategy value)
Control how notifications will be sent out, on a per-channel basis.
|
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.Builder.addNotificationPrompts(AlertPolicy.AlertStrategy.NotificationPrompt value)
For log-based alert policies, the notification prompts is always
[OPENED].
|
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.Builder.addNotificationPromptsValue(int value)
For log-based alert policies, the notification prompts is always
[OPENED].
|
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.Builder.clear() |
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.Builder.clearAutoClose()
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.Builder |
AlertPolicy.AlertStrategy.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.Builder.clearNotificationChannelStrategy()
Control how notifications will be sent out, on a per-channel basis.
|
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.Builder.clearNotificationPrompts()
For log-based alert policies, the notification prompts is always
[OPENED].
|
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.Builder.clearNotificationRateLimit()
Required for log-based alerting policies, i.e. policies with a `LogMatch`
condition.
|
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.Builder.clone() |
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.Builder.getAlertStrategyBuilder()
Control over how this alerting policy's notification channels are notified.
|
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.Builder.mergeAutoClose(com.google.protobuf.Duration value)
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.Builder |
AlertPolicy.AlertStrategy.Builder.mergeFrom(AlertPolicy.AlertStrategy other) |
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.Builder.mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.Builder.mergeFrom(com.google.protobuf.Message other) |
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.Builder.mergeNotificationRateLimit(AlertPolicy.AlertStrategy.NotificationRateLimit value)
Required for log-based alerting policies, i.e. policies with a `LogMatch`
condition.
|
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
static AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.newBuilder() |
static AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.newBuilder(AlertPolicy.AlertStrategy prototype) |
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.newBuilderForType() |
protected AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.Builder.removeNotificationChannelStrategy(int index)
Control how notifications will be sent out, on a per-channel basis.
|
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.Builder.setAutoClose(com.google.protobuf.Duration.Builder builderForValue)
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.Builder |
AlertPolicy.AlertStrategy.Builder.setAutoClose(com.google.protobuf.Duration value)
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.Builder |
AlertPolicy.AlertStrategy.Builder.setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.Builder.setNotificationChannelStrategy(int index,
AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder builderForValue)
Control how notifications will be sent out, on a per-channel basis.
|
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.Builder.setNotificationChannelStrategy(int index,
AlertPolicy.AlertStrategy.NotificationChannelStrategy value)
Control how notifications will be sent out, on a per-channel basis.
|
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.Builder.setNotificationPrompts(int index,
AlertPolicy.AlertStrategy.NotificationPrompt value)
For log-based alert policies, the notification prompts is always
[OPENED].
|
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.Builder.setNotificationPromptsValue(int index,
int value)
For log-based alert policies, the notification prompts is always
[OPENED].
|
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.Builder.setNotificationRateLimit(AlertPolicy.AlertStrategy.NotificationRateLimit.Builder builderForValue)
Required for log-based alerting policies, i.e. policies with a `LogMatch`
condition.
|
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.Builder.setNotificationRateLimit(AlertPolicy.AlertStrategy.NotificationRateLimit value)
Required for log-based alerting policies, i.e. policies with a `LogMatch`
condition.
|
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AlertPolicy.AlertStrategy.Builder |
AlertPolicy.AlertStrategy.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
AlertPolicy.Builder |
AlertPolicy.Builder.setAlertStrategy(AlertPolicy.AlertStrategy.Builder builderForValue)
Control over how this alerting policy's notification channels are notified.
|
Copyright © 2025 Google LLC. All rights reserved.