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.



7514
7515
7516
# File 'lib/google/apis/dlp_v2/classes.rb', line 7514

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

Instance Attribute Details

#amazon_s3_bucketGoogle::Apis::DlpV2::GooglePrivacyDlpV2AmazonS3Bucket

Amazon S3 bucket. Corresponds to the JSON property amazonS3Bucket



7512
7513
7514
# File 'lib/google/apis/dlp_v2/classes.rb', line 7512

def amazon_s3_bucket
  @amazon_s3_bucket
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7519
7520
7521
# File 'lib/google/apis/dlp_v2/classes.rb', line 7519

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