Class: Google::Apis::DlpV2::GooglePrivacyDlpV2AmazonS3Bucket
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2AmazonS3Bucket
- 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
-
#aws_account ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2AwsAccount
AWS account.
-
#bucket_name ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2AmazonS3Bucket
constructor
A new instance of GooglePrivacyDlpV2AmazonS3Bucket.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_account ⇒ Google::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 @aws_account end |
#bucket_name ⇒ String
Required. The bucket name.
Corresponds to the JSON property bucketName
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 |