Class: Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudResourceRegex

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

A pattern to match against one or more resources. At least one pattern must be specified. Regular expressions use RE2 syntax; a guide can be found under the google/re2 repository on GitHub.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2OtherCloudResourceRegex

Returns a new instance of GooglePrivacyDlpV2OtherCloudResourceRegex.



8376
8377
8378
# File 'lib/google/apis/dlp_v2/classes.rb', line 8376

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

Instance Attribute Details

#amazon_s3_bucket_regexGoogle::Apis::DlpV2::GooglePrivacyDlpV2AmazonS3BucketRegex

Amazon S3 bucket regex. Corresponds to the JSON property amazonS3BucketRegex



8374
8375
8376
# File 'lib/google/apis/dlp_v2/classes.rb', line 8374

def amazon_s3_bucket_regex
  @amazon_s3_bucket_regex
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8381
8382
8383
# File 'lib/google/apis/dlp_v2/classes.rb', line 8381

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