Class: Google::Apis::DlpV2::GooglePrivacyDlpV2AmazonS3BucketConditions

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_typesArray<String>

Optional. Bucket types that should be profiled. Optional. Defaults to TYPE_ALL_SUPPORTED if unspecified. Corresponds to the JSON property bucketTypes

Returns:

  • (Array<String>)


250
251
252
# File 'lib/google/apis/dlp_v2/classes.rb', line 250

def bucket_types
  @bucket_types
end

#object_storage_classesArray<String>

Optional. Object classes that should be profiled. Optional. Defaults to ALL_SUPPORTED_CLASSES if unspecified. Corresponds to the JSON property objectStorageClasses

Returns:

  • (Array<String>)


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