Interface NotificationConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NotificationConfig
,NotificationConfig.Builder
public interface NotificationConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDescription()
The description of the notification config (max of 1024 characters).com.google.protobuf.ByteString
getDescriptionBytes()
The description of the notification config (max of 1024 characters).String
getName()
The relative resource name of this notification config.com.google.protobuf.ByteString
getNameBytes()
The relative resource name of this notification config.NotificationConfig.NotifyConfigCase
getNotifyConfigCase()
String
getPubsubTopic()
The Pub/Sub topic to send notifications to.com.google.protobuf.ByteString
getPubsubTopicBytes()
The Pub/Sub topic to send notifications to.String
getServiceAccount()
Output only.com.google.protobuf.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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", "folders/{folder_id}/notificationConfigs/notify_public_bucket", or "projects/{project_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", "folders/{folder_id}/notificationConfigs/notify_public_bucket", or "projects/{project_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.
-
getPubsubTopic
String getPubsubTopic()
The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
string pubsub_topic = 3 [(.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 = 3 [(.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 = 4 [(.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 = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for serviceAccount.
-
hasStreamingConfig
boolean hasStreamingConfig()
The config for triggering streaming-based notifications.
.google.cloud.securitycenter.v1.NotificationConfig.StreamingConfig streaming_config = 5;
- Returns:
- Whether the streamingConfig field is set.
-
getStreamingConfig
NotificationConfig.StreamingConfig getStreamingConfig()
The config for triggering streaming-based notifications.
.google.cloud.securitycenter.v1.NotificationConfig.StreamingConfig streaming_config = 5;
- Returns:
- The streamingConfig.
-
getStreamingConfigOrBuilder
NotificationConfig.StreamingConfigOrBuilder getStreamingConfigOrBuilder()
The config for triggering streaming-based notifications.
.google.cloud.securitycenter.v1.NotificationConfig.StreamingConfig streaming_config = 5;
-
getNotifyConfigCase
NotificationConfig.NotifyConfigCase getNotifyConfigCase()
-
-