Interface NotificationConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NotificationConfig,NotificationConfig.Builder
@Generated
public interface NotificationConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe description of the notification config (max of 1024 characters).com.google.protobuf.ByteStringThe description of the notification config (max of 1024 characters).The type of events the config is for, e.g.intThe type of events the config is for, e.g.getName()The relative resource name of this notification config.com.google.protobuf.ByteStringThe relative resource name of this notification config.The Pub/Sub topic to send notifications to.com.google.protobuf.ByteStringThe Pub/Sub topic to send notifications to.Output only.com.google.protobuf.ByteStringOutput only.The config for triggering streaming-based notifications.The config for triggering streaming-based notifications.booleanThe config for triggering streaming-based notifications.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
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;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.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;- Returns:
- The bytes for name.
-
getDescription
String getDescription()The description of the notification config (max of 1024 characters).
string description = 2;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()The description of the notification config (max of 1024 characters).
string description = 2;- Returns:
- The bytes for description.
-
getEventTypeValue
int getEventTypeValue()The type of events the config is for, e.g. FINDING.
.google.cloud.securitycenter.v1p1beta1.NotificationConfig.EventType event_type = 3;- Returns:
- The enum numeric value on the wire for eventType.
-
getEventType
NotificationConfig.EventType getEventType()The type of events the config is for, e.g. FINDING.
.google.cloud.securitycenter.v1p1beta1.NotificationConfig.EventType event_type = 3;- Returns:
- The eventType.
-
getPubsubTopic
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) = { ... }- Returns:
- The pubsubTopic.
-
getPubsubTopicBytes
com.google.protobuf.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) = { ... }- Returns:
- The bytes for pubsubTopic.
-
getServiceAccount
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];- Returns:
- The serviceAccount.
-
getServiceAccountBytes
com.google.protobuf.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];- Returns:
- The bytes for serviceAccount.
-
hasStreamingConfig
boolean hasStreamingConfig()The config for triggering streaming-based notifications.
.google.cloud.securitycenter.v1p1beta1.NotificationConfig.StreamingConfig streaming_config = 6;- Returns:
- Whether the streamingConfig field is set.
-
getStreamingConfig
NotificationConfig.StreamingConfig getStreamingConfig()The config for triggering streaming-based notifications.
.google.cloud.securitycenter.v1p1beta1.NotificationConfig.StreamingConfig streaming_config = 6;- Returns:
- The streamingConfig.
-
getStreamingConfigOrBuilder
NotificationConfig.StreamingConfigOrBuilder getStreamingConfigOrBuilder()The config for triggering streaming-based notifications.
.google.cloud.securitycenter.v1p1beta1.NotificationConfig.StreamingConfig streaming_config = 6; -
getNotifyConfigCase
NotificationConfig.NotifyConfigCase getNotifyConfigCase()
-