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.



7953
7954
7955
# File 'lib/google/apis/dlp_v2/classes.rb', line 7953

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

Instance Attribute Details

#amazon_s3_bucketGoogle::Apis::DlpV2::GooglePrivacyDlpV2AmazonS3Bucket

Amazon S3 bucket. Corresponds to the JSON property amazonS3Bucket



7951
7952
7953
# File 'lib/google/apis/dlp_v2/classes.rb', line 7951

def amazon_s3_bucket
  @amazon_s3_bucket
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7958
7959
7960
# File 'lib/google/apis/dlp_v2/classes.rb', line 7958

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