Interface CreateNotificationConfigRequestOrBuilder (2.51.0)

public interface CreateNotificationConfigRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConfigId()

public abstract String getConfigId()

Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters and contain alphanumeric characters, underscores, or hyphens only.

string config_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The configId.

getConfigIdBytes()

public abstract ByteString getConfigIdBytes()

Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters and contain alphanumeric characters, underscores, or hyphens only.

string config_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for configId.

getNotificationConfig()

public abstract NotificationConfig getNotificationConfig()

Required. The notification config being created. The name and the service account will be ignored as they are both output only fields on this resource.

.google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NotificationConfig

The notificationConfig.

getNotificationConfigOrBuilder()

public abstract NotificationConfigOrBuilder getNotificationConfigOrBuilder()

Required. The notification config being created. The name and the service account will be ignored as they are both output only fields on this resource.

.google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NotificationConfigOrBuilder

getParent()

public abstract String getParent()

Required. Resource name of the new notification config's parent. Its format is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. Resource name of the new notification config's parent. Its format is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasNotificationConfig()

public abstract boolean hasNotificationConfig()

Required. The notification config being created. The name and the service account will be ignored as they are both output only fields on this resource.

.google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the notificationConfig field is set.