Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CloudStorageOptions
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CloudStorageOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2beta2/classes.rb,
generated/google/apis/dlp_v2beta2/representations.rb,
generated/google/apis/dlp_v2beta2/representations.rb
Overview
Options defining a file or a set of files (path ending with *) within a Google Cloud Storage bucket.
Instance Attribute Summary collapse
-
#bytes_limit_per_file ⇒ Fixnum
Max number of bytes to scan from a file.
-
#file_set ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FileSet
Set of files to scan.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2CloudStorageOptions
constructor
A new instance of GooglePrivacyDlpV2beta2CloudStorageOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2CloudStorageOptions
Returns a new instance of GooglePrivacyDlpV2beta2CloudStorageOptions
2126 2127 2128 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2126 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bytes_limit_per_file ⇒ Fixnum
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.
Corresponds to the JSON property bytesLimitPerFile
2119 2120 2121 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2119 def bytes_limit_per_file @bytes_limit_per_file end |
#file_set ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FileSet
Set of files to scan.
Corresponds to the JSON property fileSet
2124 2125 2126 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2124 def file_set @file_set end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2131 2132 2133 2134 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2131 def update!(**args) @bytes_limit_per_file = args[:bytes_limit_per_file] if args.key?(:bytes_limit_per_file) @file_set = args[:file_set] if args.key?(:file_set) end |