Package com.google.privacy.dlp.v2
Class DataProfileAction
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.privacy.dlp.v2.DataProfileAction
- All Implemented Interfaces:
DataProfileActionOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class DataProfileAction
extends com.google.protobuf.GeneratedMessage
implements DataProfileActionOrBuilder
A task to execute when a data profile has been generated.Protobuf type
google.privacy.dlp.v2.DataProfileAction- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic final classA task to execute when a data profile has been generated.static enumTypes of event that can trigger an action.static final classIf set, the detailed data profiles will be persisted to the location of your choice whenever updated.static interfacestatic final classMessage expressing intention to publish to Google Security Operations.static interfacestatic final classCreate Dataplex Universal Catalog aspects for profiled resources with the aspect type Sensitive Data Protection Profile.static interfacestatic final classIf set, a summary finding will be created or updated in Security Command Center for each profile.static interfacestatic final classSend a Pub/Sub message into the given Pub/Sub topic to connect other systems to data profile generation.static interfacestatic final classIf set, attaches the [tags] (https://cloud.google.com/resource-manager/docs/tags/tags-overview) provided to profiled resources.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic DataProfileActionstatic final com.google.protobuf.Descriptors.DescriptorExport data profiles into a provided location.Export data profiles into a provided location.com.google.protobuf.Parser<DataProfileAction>Publishes generated data profiles to Google Security Operations.Publishes generated data profiles to Google Security Operations.Publishes a portion of each profile to Dataplex Universal Catalog with the aspect type Sensitive Data Protection Profile.Publishes a portion of each profile to Dataplex Universal Catalog with the aspect type Sensitive Data Protection Profile.Publishes findings to Security Command Center for each data profile.Publishes findings to Security Command Center for each data profile.Publish a message into the Pub/Sub topic.Publish a message into the Pub/Sub topic.intTags the profiled resources with the specified tag values.Tags the profiled resources with the specified tag values.booleanExport data profiles into a provided location.inthashCode()booleanPublishes generated data profiles to Google Security Operations.booleanPublishes a portion of each profile to Dataplex Universal Catalog with the aspect type Sensitive Data Protection Profile.booleanPublishes findings to Security Command Center for each data profile.booleanPublish a message into the Pub/Sub topic.booleanTags the profiled resources with the specified tag values.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic DataProfileAction.Builderstatic DataProfileAction.BuildernewBuilder(DataProfileAction prototype) protected DataProfileAction.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static DataProfileActionparseDelimitedFrom(InputStream input) static DataProfileActionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataProfileActionparseFrom(byte[] data) static DataProfileActionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataProfileActionparseFrom(com.google.protobuf.ByteString data) static DataProfileActionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataProfileActionparseFrom(com.google.protobuf.CodedInputStream input) static DataProfileActionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataProfileActionparseFrom(InputStream input) static DataProfileActionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataProfileActionparseFrom(ByteBuffer data) static DataProfileActionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DataProfileAction>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
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, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
EXPORT_DATA_FIELD_NUMBER
public static final int EXPORT_DATA_FIELD_NUMBER- See Also:
-
PUB_SUB_NOTIFICATION_FIELD_NUMBER
public static final int PUB_SUB_NOTIFICATION_FIELD_NUMBER- See Also:
-
PUBLISH_TO_CHRONICLE_FIELD_NUMBER
public static final int PUBLISH_TO_CHRONICLE_FIELD_NUMBER- See Also:
-
PUBLISH_TO_SCC_FIELD_NUMBER
public static final int PUBLISH_TO_SCC_FIELD_NUMBER- See Also:
-
TAG_RESOURCES_FIELD_NUMBER
public static final int TAG_RESOURCES_FIELD_NUMBER- See Also:
-
PUBLISH_TO_DATAPLEX_CATALOG_FIELD_NUMBER
public static final int PUBLISH_TO_DATAPLEX_CATALOG_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getActionCase
- Specified by:
getActionCasein interfaceDataProfileActionOrBuilder
-
hasExportData
public boolean hasExportData()Export data profiles into a provided location.
.google.privacy.dlp.v2.DataProfileAction.Export export_data = 1;- Specified by:
hasExportDatain interfaceDataProfileActionOrBuilder- Returns:
- Whether the exportData field is set.
-
getExportData
Export data profiles into a provided location.
.google.privacy.dlp.v2.DataProfileAction.Export export_data = 1;- Specified by:
getExportDatain interfaceDataProfileActionOrBuilder- Returns:
- The exportData.
-
getExportDataOrBuilder
Export data profiles into a provided location.
.google.privacy.dlp.v2.DataProfileAction.Export export_data = 1;- Specified by:
getExportDataOrBuilderin interfaceDataProfileActionOrBuilder
-
hasPubSubNotification
public boolean hasPubSubNotification()Publish a message into the Pub/Sub topic.
.google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2;- Specified by:
hasPubSubNotificationin interfaceDataProfileActionOrBuilder- Returns:
- Whether the pubSubNotification field is set.
-
getPubSubNotification
Publish a message into the Pub/Sub topic.
.google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2;- Specified by:
getPubSubNotificationin interfaceDataProfileActionOrBuilder- Returns:
- The pubSubNotification.
-
getPubSubNotificationOrBuilder
Publish a message into the Pub/Sub topic.
.google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2;- Specified by:
getPubSubNotificationOrBuilderin interfaceDataProfileActionOrBuilder
-
hasPublishToChronicle
public boolean hasPublishToChronicle()Publishes generated data profiles to Google Security Operations. For more information, see [Use Sensitive Data Protection data in context-aware analytics](https://cloud.google.com/chronicle/docs/detection/usecase-dlp-high-risk-user-download).
.google.privacy.dlp.v2.DataProfileAction.PublishToChronicle publish_to_chronicle = 3;- Specified by:
hasPublishToChroniclein interfaceDataProfileActionOrBuilder- Returns:
- Whether the publishToChronicle field is set.
-
getPublishToChronicle
Publishes generated data profiles to Google Security Operations. For more information, see [Use Sensitive Data Protection data in context-aware analytics](https://cloud.google.com/chronicle/docs/detection/usecase-dlp-high-risk-user-download).
.google.privacy.dlp.v2.DataProfileAction.PublishToChronicle publish_to_chronicle = 3;- Specified by:
getPublishToChroniclein interfaceDataProfileActionOrBuilder- Returns:
- The publishToChronicle.
-
getPublishToChronicleOrBuilder
Publishes generated data profiles to Google Security Operations. For more information, see [Use Sensitive Data Protection data in context-aware analytics](https://cloud.google.com/chronicle/docs/detection/usecase-dlp-high-risk-user-download).
.google.privacy.dlp.v2.DataProfileAction.PublishToChronicle publish_to_chronicle = 3;- Specified by:
getPublishToChronicleOrBuilderin interfaceDataProfileActionOrBuilder
-
hasPublishToScc
public boolean hasPublishToScc()Publishes findings to Security Command Center for each data profile.
.google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenter publish_to_scc = 4;- Specified by:
hasPublishToSccin interfaceDataProfileActionOrBuilder- Returns:
- Whether the publishToScc field is set.
-
getPublishToScc
Publishes findings to Security Command Center for each data profile.
.google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenter publish_to_scc = 4;- Specified by:
getPublishToSccin interfaceDataProfileActionOrBuilder- Returns:
- The publishToScc.
-
getPublishToSccOrBuilder
Publishes findings to Security Command Center for each data profile.
.google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenter publish_to_scc = 4;- Specified by:
getPublishToSccOrBuilderin interfaceDataProfileActionOrBuilder
-
hasTagResources
public boolean hasTagResources()Tags the profiled resources with the specified tag values.
.google.privacy.dlp.v2.DataProfileAction.TagResources tag_resources = 8;- Specified by:
hasTagResourcesin interfaceDataProfileActionOrBuilder- Returns:
- Whether the tagResources field is set.
-
getTagResources
Tags the profiled resources with the specified tag values.
.google.privacy.dlp.v2.DataProfileAction.TagResources tag_resources = 8;- Specified by:
getTagResourcesin interfaceDataProfileActionOrBuilder- Returns:
- The tagResources.
-
getTagResourcesOrBuilder
Tags the profiled resources with the specified tag values.
.google.privacy.dlp.v2.DataProfileAction.TagResources tag_resources = 8;- Specified by:
getTagResourcesOrBuilderin interfaceDataProfileActionOrBuilder
-
hasPublishToDataplexCatalog
public boolean hasPublishToDataplexCatalog()Publishes a portion of each profile to Dataplex Universal Catalog with the aspect type Sensitive Data Protection Profile.
.google.privacy.dlp.v2.DataProfileAction.PublishToDataplexCatalog publish_to_dataplex_catalog = 9;- Specified by:
hasPublishToDataplexCatalogin interfaceDataProfileActionOrBuilder- Returns:
- Whether the publishToDataplexCatalog field is set.
-
getPublishToDataplexCatalog
Publishes a portion of each profile to Dataplex Universal Catalog with the aspect type Sensitive Data Protection Profile.
.google.privacy.dlp.v2.DataProfileAction.PublishToDataplexCatalog publish_to_dataplex_catalog = 9;- Specified by:
getPublishToDataplexCatalogin interfaceDataProfileActionOrBuilder- Returns:
- The publishToDataplexCatalog.
-
getPublishToDataplexCatalogOrBuilder
Publishes a portion of each profile to Dataplex Universal Catalog with the aspect type Sensitive Data Protection Profile.
.google.privacy.dlp.v2.DataProfileAction.PublishToDataplexCatalog publish_to_dataplex_catalog = 9;- Specified by:
getPublishToDataplexCatalogOrBuilderin interfaceDataProfileActionOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DataProfileAction parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataProfileAction parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataProfileAction parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataProfileAction parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataProfileAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataProfileAction parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DataProfileAction parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DataProfileAction parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DataProfileAction parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DataProfileAction parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DataProfileAction.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-