Class: Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudSingleResourceReference

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

Identifies a single resource, like a single Amazon S3 bucket.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2OtherCloudSingleResourceReference

Returns a new instance of GooglePrivacyDlpV2OtherCloudSingleResourceReference.



8299
8300
8301
# File 'lib/google/apis/dlp_v2/classes.rb', line 8299

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

Instance Attribute Details

#amazon_s3_bucketGoogle::Apis::DlpV2::GooglePrivacyDlpV2AmazonS3Bucket

Amazon S3 bucket. Corresponds to the JSON property amazonS3Bucket



8297
8298
8299
# File 'lib/google/apis/dlp_v2/classes.rb', line 8297

def amazon_s3_bucket
  @amazon_s3_bucket
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8304
8305
8306
# File 'lib/google/apis/dlp_v2/classes.rb', line 8304

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