public final class DataRetentionDeletionEvent extends GeneratedMessage implements DataRetentionDeletionEventOrBuilder
Details about data retention deletion violations, in which the data is
non-compliant based on their retention or deletion time, as defined in the
applicable data security policy. The Data Retention Deletion (DRD) control is
a control of the DSPM (Data Security Posture Management) suite that enables
organizations to manage data retention and deletion policies in compliance
with regulations, such as GDPR and CRPA. DRD supports two primary policy
types: maximum storage length (max TTL) and minimum storage length (min TTL).
Both are aimed at helping organizations meet regulatory and data management
commitments.
Protobuf type google.cloud.securitycenter.v2.DataRetentionDeletionEvent
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
DATA_OBJECT_COUNT_FIELD_NUMBER
public static final int DATA_OBJECT_COUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
EVENT_DETECTION_TIME_FIELD_NUMBER
public static final int EVENT_DETECTION_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
EVENT_TYPE_FIELD_NUMBER
public static final int EVENT_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
MAX_RETENTION_ALLOWED_FIELD_NUMBER
public static final int MAX_RETENTION_ALLOWED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DataRetentionDeletionEvent getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DataRetentionDeletionEvent.Builder newBuilder()
newBuilder(DataRetentionDeletionEvent prototype)
public static DataRetentionDeletionEvent.Builder newBuilder(DataRetentionDeletionEvent prototype)
public static DataRetentionDeletionEvent parseDelimitedFrom(InputStream input)
public static DataRetentionDeletionEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DataRetentionDeletionEvent parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataRetentionDeletionEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DataRetentionDeletionEvent parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataRetentionDeletionEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataRetentionDeletionEvent parseFrom(CodedInputStream input)
public static DataRetentionDeletionEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DataRetentionDeletionEvent parseFrom(InputStream input)
public static DataRetentionDeletionEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DataRetentionDeletionEvent parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataRetentionDeletionEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DataRetentionDeletionEvent> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDataObjectCount()
public long getDataObjectCount()
Number of objects that violated the policy for this resource. If the number
is less than 1,000, then the value of this field is the exact number. If
the number of objects that violated the policy is greater than or equal to
1,000, then the value of this field is 1000.
int64 data_object_count = 3;
| Returns |
| Type |
Description |
long |
The dataObjectCount.
|
getDefaultInstanceForType()
public DataRetentionDeletionEvent getDefaultInstanceForType()
getEventDetectionTime()
public Timestamp getEventDetectionTime()
Timestamp indicating when the event was detected.
.google.protobuf.Timestamp event_detection_time = 2;
| Returns |
| Type |
Description |
Timestamp |
The eventDetectionTime.
|
getEventDetectionTimeOrBuilder()
public TimestampOrBuilder getEventDetectionTimeOrBuilder()
Timestamp indicating when the event was detected.
.google.protobuf.Timestamp event_detection_time = 2;
getEventType()
public DataRetentionDeletionEvent.EventType getEventType()
Type of the DRD event.
.google.cloud.securitycenter.v2.DataRetentionDeletionEvent.EventType event_type = 5;
getEventTypeValue()
public int getEventTypeValue()
Type of the DRD event.
.google.cloud.securitycenter.v2.DataRetentionDeletionEvent.EventType event_type = 5;
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for eventType.
|
getMaxRetentionAllowed()
public Duration getMaxRetentionAllowed()
Maximum duration of retention allowed from the DRD control. This comes
from the DRD control where users set a max TTL for their data. For example,
suppose that a user sets the max TTL for a Cloud Storage bucket to 90 days.
However, an object in that bucket is 100 days old. In this case, a
DataRetentionDeletionEvent will be generated for that Cloud Storage bucket,
and the max_retention_allowed is 90 days.
.google.protobuf.Duration max_retention_allowed = 4;
| Returns |
| Type |
Description |
Duration |
The maxRetentionAllowed.
|
getMaxRetentionAllowedOrBuilder()
public DurationOrBuilder getMaxRetentionAllowedOrBuilder()
Maximum duration of retention allowed from the DRD control. This comes
from the DRD control where users set a max TTL for their data. For example,
suppose that a user sets the max TTL for a Cloud Storage bucket to 90 days.
However, an object in that bucket is 100 days old. In this case, a
DataRetentionDeletionEvent will be generated for that Cloud Storage bucket,
and the max_retention_allowed is 90 days.
.google.protobuf.Duration max_retention_allowed = 4;
getParserForType()
public Parser<DataRetentionDeletionEvent> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hasEventDetectionTime()
public boolean hasEventDetectionTime()
Timestamp indicating when the event was detected.
.google.protobuf.Timestamp event_detection_time = 2;
| Returns |
| Type |
Description |
boolean |
Whether the eventDetectionTime field is set.
|
hasMaxRetentionAllowed()
public boolean hasMaxRetentionAllowed()
Maximum duration of retention allowed from the DRD control. This comes
from the DRD control where users set a max TTL for their data. For example,
suppose that a user sets the max TTL for a Cloud Storage bucket to 90 days.
However, an object in that bucket is 100 days old. In this case, a
DataRetentionDeletionEvent will be generated for that Cloud Storage bucket,
and the max_retention_allowed is 90 days.
.google.protobuf.Duration max_retention_allowed = 4;
| Returns |
| Type |
Description |
boolean |
Whether the maxRetentionAllowed field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DataRetentionDeletionEvent.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected DataRetentionDeletionEvent.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public DataRetentionDeletionEvent.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides