public final class NotificationConfig extends com.google.protobuf.GeneratedMessageV3 implements NotificationConfigOrBuilder
Cloud Security Command Center (Cloud SCC) notification configs. A notification config is a Cloud SCC resource that contains the configuration to send notifications for create/update events of findings, assets and etc.Protobuf type
google.cloud.securitycenter.v1.NotificationConfig| Modifier and Type | Class and Description |
|---|---|
static class |
NotificationConfig.Builder
Cloud Security Command Center (Cloud SCC) notification configs.
|
static class |
NotificationConfig.NotifyConfigCase |
static class |
NotificationConfig.StreamingConfig
The config for streaming-based notifications, which send each event as soon
as it is detected.
|
static interface |
NotificationConfig.StreamingConfigOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PUBSUB_TOPIC_FIELD_NUMBER |
static int |
SERVICE_ACCOUNT_FIELD_NUMBER |
static int |
STREAMING_CONFIG_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static NotificationConfig |
getDefaultInstance() |
NotificationConfig |
getDefaultInstanceForType() |
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).
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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() |
com.google.protobuf.Parser<NotificationConfig> |
getParserForType() |
String |
getPubsubTopic()
The Pub/Sub topic to send notifications to.
|
com.google.protobuf.ByteString |
getPubsubTopicBytes()
The Pub/Sub topic to send notifications to.
|
int |
getSerializedSize() |
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.
|
int |
hashCode() |
boolean |
hasStreamingConfig()
The config for triggering streaming-based notifications.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static NotificationConfig.Builder |
newBuilder() |
static NotificationConfig.Builder |
newBuilder(NotificationConfig prototype) |
NotificationConfig.Builder |
newBuilderForType() |
protected NotificationConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static NotificationConfig |
parseDelimitedFrom(InputStream input) |
static NotificationConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NotificationConfig |
parseFrom(byte[] data) |
static NotificationConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NotificationConfig |
parseFrom(ByteBuffer data) |
static NotificationConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NotificationConfig |
parseFrom(com.google.protobuf.ByteString data) |
static NotificationConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NotificationConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static NotificationConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NotificationConfig |
parseFrom(InputStream input) |
static NotificationConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<NotificationConfig> |
parser() |
NotificationConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int PUBSUB_TOPIC_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER
public static final int STREAMING_CONFIG_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public NotificationConfig.NotifyConfigCase getNotifyConfigCase()
getNotifyConfigCase in interface NotificationConfigOrBuilderpublic 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;getName in interface NotificationConfigOrBuilderpublic 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;getNameBytes in interface NotificationConfigOrBuilderpublic String getDescription()
The description of the notification config (max of 1024 characters).
string description = 2;getDescription in interface NotificationConfigOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
The description of the notification config (max of 1024 characters).
string description = 2;getDescriptionBytes in interface NotificationConfigOrBuilderpublic 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) = { ... }getPubsubTopic in interface NotificationConfigOrBuilderpublic 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) = { ... }getPubsubTopicBytes in interface NotificationConfigOrBuilderpublic 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];getServiceAccount in interface NotificationConfigOrBuilderpublic 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];getServiceAccountBytes in interface NotificationConfigOrBuilderpublic boolean hasStreamingConfig()
The config for triggering streaming-based notifications.
.google.cloud.securitycenter.v1.NotificationConfig.StreamingConfig streaming_config = 5;
hasStreamingConfig in interface NotificationConfigOrBuilderpublic NotificationConfig.StreamingConfig getStreamingConfig()
The config for triggering streaming-based notifications.
.google.cloud.securitycenter.v1.NotificationConfig.StreamingConfig streaming_config = 5;
getStreamingConfig in interface NotificationConfigOrBuilderpublic NotificationConfig.StreamingConfigOrBuilder getStreamingConfigOrBuilder()
The config for triggering streaming-based notifications.
.google.cloud.securitycenter.v1.NotificationConfig.StreamingConfig streaming_config = 5;
getStreamingConfigOrBuilder in interface NotificationConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static NotificationConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NotificationConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NotificationConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NotificationConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NotificationConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NotificationConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NotificationConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static NotificationConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static NotificationConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static NotificationConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static NotificationConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static NotificationConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic NotificationConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static NotificationConfig.Builder newBuilder()
public static NotificationConfig.Builder newBuilder(NotificationConfig prototype)
public NotificationConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected NotificationConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static NotificationConfig getDefaultInstance()
public static com.google.protobuf.Parser<NotificationConfig> parser()
public com.google.protobuf.Parser<NotificationConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public NotificationConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.