Class: Google::Apis::DlpV2::GooglePrivacyDlpV2DatabaseResourceRegexes
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2DatabaseResourceRegexes
- 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 collection of regular expressions to determine what database resources to match against.
Instance Attribute Summary collapse
-
#patterns ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2DatabaseResourceRegex>
A group of regular expression patterns to match against one or more database resources.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2DatabaseResourceRegexes
constructor
A new instance of GooglePrivacyDlpV2DatabaseResourceRegexes.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2DatabaseResourceRegexes
Returns a new instance of GooglePrivacyDlpV2DatabaseResourceRegexes.
2844 2845 2846 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 2844 def initialize(**args) update!(**args) end |
Instance Attribute Details
#patterns ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2DatabaseResourceRegex>
A group of regular expression patterns to match against one or more database
resources. Maximum of 100 entries. The sum of all regular expression's length
can't exceed 10 KiB.
Corresponds to the JSON property patterns
2842 2843 2844 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 2842 def patterns @patterns end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2849 2850 2851 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 2849 def update!(**args) @patterns = args[:patterns] if args.key?(:patterns) end |