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.



389
390
391
# File 'lib/google/apis/dlp_v2/classes.rb', line 389

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>)


381
382
383
# File 'lib/google/apis/dlp_v2/classes.rb', line 381

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>)


387
388
389
# File 'lib/google/apis/dlp_v2/classes.rb', line 387

def object_storage_classes
  @object_storage_classes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



394
395
396
397
# File 'lib/google/apis/dlp_v2/classes.rb', line 394

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