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.
403 404 405 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 403 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
395 396 397 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 395 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
401 402 403 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 401 def object_storage_classes @object_storage_classes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
408 409 410 411 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 408 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 |