GooglePrivacyDlpV2FileSet
import type { GooglePrivacyDlpV2FileSet } from "https://googleapis.deno.dev/v1/dlp:v2.ts";
Set of files to scan.
interface GooglePrivacyDlpV2FileSet {
regexFileSet?: GooglePrivacyDlpV2CloudStorageRegexFileSet;
url?: string;
}§Properties
§
regexFileSet?: GooglePrivacyDlpV2CloudStorageRegexFileSet
[src]The regex-filtered set of files to scan. Exactly one of url
or
regex_file_set
must be set.
§
url?: string
[src]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.