Class DiscoveryCloudStorageFilter (3.20.0)

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

Determines which buckets will have profiles generated within an organization or project. Includes the ability to filter by regular expression patterns on project ID and bucket name.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
collection google.cloud.dlp_v2.types.FileStoreCollection
Optional. A specific set of buckets for this filter to apply to. This field is a member of oneof_ filter.
cloud_storage_resource_reference google.cloud.dlp_v2.types.CloudStorageResourceReference
Optional. The bucket to scan. Targets including this can only include one target (the target with this bucket). This enables profiling the contents of a single bucket, while the other options allow for easy profiling of many bucets within a project or an organization. This field is a member of oneof_ filter.
others google.cloud.dlp_v2.types.AllOtherResources
Optional. Catch-all. This should always be the last target in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically. This field is a member of oneof_ filter.