Class FileSet (3.1.1)

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

Set of files to scan. .. attribute:: url

The Cloud Storage url of the file(s) to scan, in the format gs://<bucket>/<path>. Trailing wildcard in the path is allowed.

If the url ends in a trailing slash, the bucket or directory represented by the url will be scanned non-recursively (content in sub-directories will not be scanned). This means that gs://mybucket/ is equivalent to gs://mybucket/*, and gs://mybucket/directory/ is equivalent to gs://mybucket/directory/*.

Exactly one of url or regex_file_set must be set.

:type: str

Attribute

NameDescription
regex_file_set google.cloud.dlp_v2.types.CloudStorageRegexFileSet
The regex-filtered set of files to scan. Exactly one of url or regex_file_set must be set.