Class: Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreRegex
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreRegex
- 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 file stores.
Instance Attribute Summary collapse
-
#cloud_storage_regex ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageRegex
A pattern to match against one or more file stores.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2FileStoreRegex
constructor
A new instance of GooglePrivacyDlpV2FileStoreRegex.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2FileStoreRegex
Returns a new instance of GooglePrivacyDlpV2FileStoreRegex.
4965 4966 4967 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4965 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_storage_regex ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageRegex
A pattern to match against one or more file stores. At least one pattern must
be specified. Regular expressions use RE2 syntax; a guide can be found under the google/re2 repository on
GitHub.
Corresponds to the JSON property cloudStorageRegex
4963 4964 4965 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4963 def cloud_storage_regex @cloud_storage_regex end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4970 4971 4972 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4970 def update!(**args) @cloud_storage_regex = args[:cloud_storage_regex] if args.key?(:cloud_storage_regex) end |