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.



231
232
233
# File 'lib/google/apis/dlp_v2/classes.rb', line 231

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

Instance Attribute Details

#aws_accountGoogle::Apis::DlpV2::GooglePrivacyDlpV2AwsAccount

AWS account. Corresponds to the JSON property awsAccount



224
225
226
# File 'lib/google/apis/dlp_v2/classes.rb', line 224

def 
  @aws_account
end

#bucket_nameString

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

Returns:

  • (String)


229
230
231
# File 'lib/google/apis/dlp_v2/classes.rb', line 229

def bucket_name
  @bucket_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



236
237
238
239
# File 'lib/google/apis/dlp_v2/classes.rb', line 236

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