Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::CloudStorageOptions::FileSet.
Set of files to scan.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#regex_file_set
def regex_file_set() -> ::Google::Cloud::Dlp::V2::CloudStorageRegexFileSet
-
(::Google::Cloud::Dlp::V2::CloudStorageRegexFileSet) — The regex-filtered set of files to scan. Exactly one of
url
orregex_file_set
must be set.
#regex_file_set=
def regex_file_set=(value) -> ::Google::Cloud::Dlp::V2::CloudStorageRegexFileSet
-
value (::Google::Cloud::Dlp::V2::CloudStorageRegexFileSet) — The regex-filtered set of files to scan. Exactly one of
url
orregex_file_set
must be set.
-
(::Google::Cloud::Dlp::V2::CloudStorageRegexFileSet) — The regex-filtered set of files to scan. Exactly one of
url
orregex_file_set
must be set.
#url
def url() -> ::String
-
(::String) — 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 togs://mybucket/*
, andgs://mybucket/directory/
is equivalent togs://mybucket/directory/*
.Exactly one of
url
orregex_file_set
must be set.
#url=
def url=(value) -> ::String
-
value (::String) — 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 togs://mybucket/*
, andgs://mybucket/directory/
is equivalent togs://mybucket/directory/*
.Exactly one of
url
orregex_file_set
must be set.
-
(::String) — 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 togs://mybucket/*
, andgs://mybucket/directory/
is equivalent togs://mybucket/directory/*
.Exactly one of
url
orregex_file_set
must be set.