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.



8843
8844
8845
# File 'lib/google/apis/dlp_v2/classes.rb', line 8843

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



8841
8842
8843
# File 'lib/google/apis/dlp_v2/classes.rb', line 8841

def amazon_s3_bucket_regex
  @amazon_s3_bucket_regex
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8848
8849
8850
# File 'lib/google/apis/dlp_v2/classes.rb', line 8848

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