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.
258 259 260 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 258 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
250 251 252 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 250 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
256 257 258 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 256 def object_storage_classes @object_storage_classes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
263 264 265 266 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 263 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 |