Class FileSet (3.25.0)

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

Set of files to scan.

Attributes

Name Description
url str
The Cloud Storage url of the file(s) to scan, in the format gs://. 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.
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.