public interface NotificationConfigOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
The description of the notification config (max of 1024 characters).
|
ByteString |
getDescriptionBytes()
The description of the notification config (max of 1024 characters).
|
NotificationConfig.EventType |
getEventType()
The type of events the config is for, e.g.
|
int |
getEventTypeValue()
The type of events the config is for, e.g.
|
String |
getName()
The relative resource name of this notification config.
|
ByteString |
getNameBytes()
The relative resource name of this notification config.
|
NotificationConfig.NotifyConfigCase |
getNotifyConfigCase() |
String |
getPubsubTopic()
The Pub/Sub topic to send notifications to.
|
ByteString |
getPubsubTopicBytes()
The Pub/Sub topic to send notifications to.
|
String |
getServiceAccount()
Output only.
|
ByteString |
getServiceAccountBytes()
Output only.
|
NotificationConfig.StreamingConfig |
getStreamingConfig()
The config for triggering streaming-based notifications.
|
NotificationConfig.StreamingConfigOrBuilder |
getStreamingConfigOrBuilder()
The config for triggering streaming-based notifications.
|
boolean |
hasStreamingConfig()
The config for triggering streaming-based notifications.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getName()
The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/notificationConfigs/notify_public_bucket".
string name = 1;
ByteString getNameBytes()
The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/notificationConfigs/notify_public_bucket".
string name = 1;
String getDescription()
The description of the notification config (max of 1024 characters).
string description = 2;
ByteString getDescriptionBytes()
The description of the notification config (max of 1024 characters).
string description = 2;
int getEventTypeValue()
The type of events the config is for, e.g. FINDING.
.google.cloud.securitycenter.v1p1beta1.NotificationConfig.EventType event_type = 3;
NotificationConfig.EventType getEventType()
The type of events the config is for, e.g. FINDING.
.google.cloud.securitycenter.v1p1beta1.NotificationConfig.EventType event_type = 3;
String getPubsubTopic()
The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
string pubsub_topic = 4 [(.google.api.resource_reference) = { ... }
ByteString getPubsubTopicBytes()
The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
string pubsub_topic = 4 [(.google.api.resource_reference) = { ... }
String getServiceAccount()
Output only. The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.
string service_account = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
ByteString getServiceAccountBytes()
Output only. The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.
string service_account = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
boolean hasStreamingConfig()
The config for triggering streaming-based notifications.
.google.cloud.securitycenter.v1p1beta1.NotificationConfig.StreamingConfig streaming_config = 6;
NotificationConfig.StreamingConfig getStreamingConfig()
The config for triggering streaming-based notifications.
.google.cloud.securitycenter.v1p1beta1.NotificationConfig.StreamingConfig streaming_config = 6;
NotificationConfig.StreamingConfigOrBuilder getStreamingConfigOrBuilder()
The config for triggering streaming-based notifications.
.google.cloud.securitycenter.v1p1beta1.NotificationConfig.StreamingConfig streaming_config = 6;
NotificationConfig.NotifyConfigCase getNotifyConfigCase()
Copyright © 2022 Google LLC. All rights reserved.