Interface AlertPolicy.AlertStrategy.NotificationChannelStrategyOrBuilder (3.40.0)

public static interface AlertPolicy.AlertStrategy.NotificationChannelStrategyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNotificationChannelNames(int index)

public abstract String getNotificationChannelNames(int index)

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]

repeated string notification_channel_names = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The notificationChannelNames at the given index.

getNotificationChannelNamesBytes(int index)

public abstract ByteString getNotificationChannelNamesBytes(int index)

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]

repeated string notification_channel_names = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the notificationChannelNames at the given index.

getNotificationChannelNamesCount()

public abstract int getNotificationChannelNamesCount()

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]

repeated string notification_channel_names = 1;

Returns
TypeDescription
int

The count of notificationChannelNames.

getNotificationChannelNamesList()

public abstract List<String> getNotificationChannelNamesList()

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]

repeated string notification_channel_names = 1;

Returns
TypeDescription
List<String>

A list containing the notificationChannelNames.

getRenotifyInterval()

public abstract Duration getRenotifyInterval()

The frequency at which to send reminder notifications for open incidents.

.google.protobuf.Duration renotify_interval = 2;

Returns
TypeDescription
Duration

The renotifyInterval.

getRenotifyIntervalOrBuilder()

public abstract DurationOrBuilder getRenotifyIntervalOrBuilder()

The frequency at which to send reminder notifications for open incidents.

.google.protobuf.Duration renotify_interval = 2;

Returns
TypeDescription
DurationOrBuilder

hasRenotifyInterval()

public abstract boolean hasRenotifyInterval()

The frequency at which to send reminder notifications for open incidents.

.google.protobuf.Duration renotify_interval = 2;

Returns
TypeDescription
boolean

Whether the renotifyInterval field is set.