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.



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

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

Instance Attribute Details

#amazon_s3_bucketGoogle::Apis::DlpV2::GooglePrivacyDlpV2AmazonS3Bucket

Amazon S3 bucket. Corresponds to the JSON property amazonS3Bucket



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

def amazon_s3_bucket
  @amazon_s3_bucket
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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