Class: Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudResourceRegex
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudResourceRegex
- 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
-
#amazon_s3_bucket_regex ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2AmazonS3BucketRegex
Amazon S3 bucket regex.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2OtherCloudResourceRegex
constructor
A new instance of GooglePrivacyDlpV2OtherCloudResourceRegex.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2OtherCloudResourceRegex
Returns a new instance of GooglePrivacyDlpV2OtherCloudResourceRegex.
7474 7475 7476 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7474 def initialize(**args) update!(**args) end |
Instance Attribute Details
#amazon_s3_bucket_regex ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2AmazonS3BucketRegex
Amazon S3 bucket regex.
Corresponds to the JSON property amazonS3BucketRegex
7472 7473 7474 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7472 def amazon_s3_bucket_regex @amazon_s3_bucket_regex end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7479 7480 7481 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7479 def update!(**args) @amazon_s3_bucket_regex = args[:amazon_s3_bucket_regex] if args.key?(:amazon_s3_bucket_regex) end |