Reference documentation and code samples for the Security Command Center V2 API class Google::Cloud::SecurityCenter::V2::DataRetentionDeletionEvent.
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.
Inherits
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#data_object_count
def data_object_count() -> ::Integer
- (::Integer) — 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.
#data_object_count=
def data_object_count=(value) -> ::Integer
- value (::Integer) — 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.
- (::Integer) — 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.
#event_detection_time
def event_detection_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Timestamp indicating when the event was detected.
#event_detection_time=
def event_detection_time=(value) -> ::Google::Protobuf::Timestamp
- value (::Google::Protobuf::Timestamp) — Timestamp indicating when the event was detected.
- (::Google::Protobuf::Timestamp) — Timestamp indicating when the event was detected.
#event_type
def event_type() -> ::Google::Cloud::SecurityCenter::V2::DataRetentionDeletionEvent::EventType
- (::Google::Cloud::SecurityCenter::V2::DataRetentionDeletionEvent::EventType) — Type of the DRD event.
#event_type=
def event_type=(value) -> ::Google::Cloud::SecurityCenter::V2::DataRetentionDeletionEvent::EventType
- value (::Google::Cloud::SecurityCenter::V2::DataRetentionDeletionEvent::EventType) — Type of the DRD event.
- (::Google::Cloud::SecurityCenter::V2::DataRetentionDeletionEvent::EventType) — Type of the DRD event.
#max_retention_allowed
def max_retention_allowed() -> ::Google::Protobuf::Duration
- (::Google::Protobuf::Duration) — 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.
#max_retention_allowed=
def max_retention_allowed=(value) -> ::Google::Protobuf::Duration
- value (::Google::Protobuf::Duration) — 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) — 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.