Class: Google::Cloud::Dlp::V2::CloudStorageOptions::FileSet
- Inherits:
-
Object
- Object
- Google::Cloud::Dlp::V2::CloudStorageOptions::FileSet
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/privacy/dlp/v2/storage.rb
Overview
Set of files to scan.
Instance Attribute Summary collapse
-
#regex_file_set ⇒ ::Google::Cloud::Dlp::V2::CloudStorageRegexFileSet
The regex-filtered set of files to scan.
-
#url ⇒ ::String
The Cloud Storage url of the file(s) to scan, in the format
gs://<bucket>/<path>
.
Instance Attribute Details
#regex_file_set ⇒ ::Google::Cloud::Dlp::V2::CloudStorageRegexFileSet
Returns The regex-filtered set of files to scan. Exactly one of url
or
regex_file_set
must be set.
477 478 479 480 |
# File 'proto_docs/google/privacy/dlp/v2/storage.rb', line 477 class FileSet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#url ⇒ ::String
Returns 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.
477 478 479 480 |
# File 'proto_docs/google/privacy/dlp/v2/storage.rb', line 477 class FileSet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |