Class: Google::Apis::DlpV2::GooglePrivacyDlpV2AmazonS3BucketConditions
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2AmazonS3BucketConditions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/google/apis/dlp_v2/representations.rb
Overview
Amazon S3 bucket conditions.
Instance Attribute Summary collapse
-
#bucket_types ⇒ Array<String>
Optional.
-
#object_storage_classes ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2AmazonS3BucketConditions
constructor
A new instance of GooglePrivacyDlpV2AmazonS3BucketConditions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2AmazonS3BucketConditions
Returns a new instance of GooglePrivacyDlpV2AmazonS3BucketConditions.
265 266 267 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 265 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bucket_types ⇒ Array<String>
Optional. Bucket types that should be profiled. Optional. Defaults to
TYPE_ALL_SUPPORTED if unspecified.
Corresponds to the JSON property bucketTypes
257 258 259 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 257 def bucket_types @bucket_types end |
#object_storage_classes ⇒ Array<String>
Optional. Object classes that should be profiled. Optional. Defaults to
ALL_SUPPORTED_CLASSES if unspecified.
Corresponds to the JSON property objectStorageClasses
263 264 265 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 263 def object_storage_classes @object_storage_classes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
270 271 272 273 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 270 def update!(**args) @bucket_types = args[:bucket_types] if args.key?(:bucket_types) @object_storage_classes = args[:object_storage_classes] if args.key?(:object_storage_classes) end |