Class: Google::Privacy::Dlp::V2::CloudStorageOptions
- Inherits:
-
Object
- Object
- Google::Privacy::Dlp::V2::CloudStorageOptions
- Defined in:
- lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb
Overview
Options defining a file or a set of files (path ending with *) within a Google Cloud Storage bucket.
Defined Under Namespace
Classes: FileSet
Instance Attribute Summary collapse
-
#bytes_limit_per_file ⇒ Integer
Max number of bytes to scan from a file.
- #file_set ⇒ Google::Privacy::Dlp::V2::CloudStorageOptions::FileSet
-
#file_types ⇒ Array<Google::Privacy::Dlp::V2::FileType>
List of file type groups to include in the scan.
Instance Attribute Details
#bytes_limit_per_file ⇒ Integer
Returns Max number of bytes to scan from a file. If a scanned file's size is bigger than this value then the rest of the bytes are omitted.
208 209 210 211 212 213 214 215 |
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb', line 208 class CloudStorageOptions # Set of files to scan. # @!attribute [rw] url # @return [String] # The url, in the format +gs://<bucket>/<path>+. Trailing wildcard in the # path is allowed. class FileSet; end end |
#file_set ⇒ Google::Privacy::Dlp::V2::CloudStorageOptions::FileSet
208 209 210 211 212 213 214 215 |
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb', line 208 class CloudStorageOptions # Set of files to scan. # @!attribute [rw] url # @return [String] # The url, in the format +gs://<bucket>/<path>+. Trailing wildcard in the # path is allowed. class FileSet; end end |
#file_types ⇒ Array<Google::Privacy::Dlp::V2::FileType>
Returns List of file type groups to include in the scan. If empty, all files are scanned and available data format processors are applied.
208 209 210 211 212 213 214 215 |
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb', line 208 class CloudStorageOptions # Set of files to scan. # @!attribute [rw] url # @return [String] # The url, in the format +gs://<bucket>/<path>+. Trailing wildcard in the # path is allowed. class FileSet; end end |