Class DiscoveryCloudStorageConditions (3.24.0)

DiscoveryCloudStorageConditions(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Requirements that must be true before a Cloud Storage bucket or object is scanned in discovery for the first time. There is an AND relationship between the top-level attributes.

Attributes

Name Description
included_object_attributes MutableSequence[google.cloud.dlp_v2.types.DiscoveryCloudStorageConditions.CloudStorageObjectAttribute]
Required. Only objects with the specified attributes will be scanned. If an object has one of the specified attributes but is inside an excluded bucket, it will not be scanned. Defaults to [ALL_SUPPORTED_OBJECTS]. A profile will be created even if no objects match the included_object_attributes.
included_bucket_attributes MutableSequence[google.cloud.dlp_v2.types.DiscoveryCloudStorageConditions.CloudStorageBucketAttribute]
Required. Only objects with the specified attributes will be scanned. Defaults to [ALL_SUPPORTED_BUCKETS] if unset.

Classes

CloudStorageBucketAttribute

CloudStorageBucketAttribute(value)

The attribute of a bucket.

CloudStorageObjectAttribute

CloudStorageObjectAttribute(value)

The attribute of an object. See https://cloud.google.com/storage/docs/storage-classes for more information on storage classes.