Class: Google::Apis::DlpV2::GooglePrivacyDlpV2AmazonS3Bucket

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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2AmazonS3Bucket

Returns a new instance of GooglePrivacyDlpV2AmazonS3Bucket.



362
363
364
# File 'lib/google/apis/dlp_v2/classes.rb', line 362

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#aws_accountGoogle::Apis::DlpV2::GooglePrivacyDlpV2AwsAccount

AWS account. Corresponds to the JSON property awsAccount



355
356
357
# File 'lib/google/apis/dlp_v2/classes.rb', line 355

def 
  @aws_account
end

#bucket_nameString

Required. The bucket name. Corresponds to the JSON property bucketName

Returns:

  • (String)


360
361
362
# File 'lib/google/apis/dlp_v2/classes.rb', line 360

def bucket_name
  @bucket_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



367
368
369
370
# File 'lib/google/apis/dlp_v2/classes.rb', line 367

def update!(**args)
  @aws_account = args[:aws_account] if args.key?(:aws_account)
  @bucket_name = args[:bucket_name] if args.key?(:bucket_name)
end