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.



8258
8259
8260
# File 'lib/google/apis/dlp_v2/classes.rb', line 8258

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



8256
8257
8258
# File 'lib/google/apis/dlp_v2/classes.rb', line 8256

def amazon_s3_bucket_regex
  @amazon_s3_bucket_regex
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8263
8264
8265
# File 'lib/google/apis/dlp_v2/classes.rb', line 8263

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