Interface CreateNotificationChannelRequestOrBuilder (3.29.0)

public interface CreateNotificationChannelRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Required. The project on which to execute the request. The format is:

 projects/[PROJECT_ID_OR_NUMBER]

This names the container into which the channel will be written, this does not name the newly created channel. The resulting channel's name will have a normalized version of this field as a prefix, but will add /notificationChannels/[CHANNEL_ID] to identify the channel.

string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The project on which to execute the request. The format is:

 projects/[PROJECT_ID_OR_NUMBER]

This names the container into which the channel will be written, this does not name the newly created channel. The resulting channel's name will have a normalized version of this field as a prefix, but will add /notificationChannels/[CHANNEL_ID] to identify the channel.

string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

getNotificationChannel()

public abstract NotificationChannel getNotificationChannel()

Required. The definition of the NotificationChannel to create.

.google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
NotificationChannel

The notificationChannel.

getNotificationChannelOrBuilder()

public abstract NotificationChannelOrBuilder getNotificationChannelOrBuilder()

Required. The definition of the NotificationChannel to create.

.google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
NotificationChannelOrBuilder

hasNotificationChannel()

public abstract boolean hasNotificationChannel()

Required. The definition of the NotificationChannel to create.

.google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the notificationChannel field is set.