Class: Google::Cloud::Dlp::V2::CloudStorageRegex
- Inherits:
-
Object
- Object
- Google::Cloud::Dlp::V2::CloudStorageRegex
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/privacy/dlp/v2/dlp.rb
Overview
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.
Instance Attribute Summary collapse
-
#bucket_name_regex ⇒ ::String
Optional.
-
#project_id_regex ⇒ ::String
Optional.
Instance Attribute Details
#bucket_name_regex ⇒ ::String
Returns Optional. Regex to test the bucket name against. If empty, all buckets match. Example: "marketing2021" or "(marketing)\d{4}" will both match the bucket gs://marketing2021.
4929 4930 4931 4932 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 4929 class CloudStorageRegex include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#project_id_regex ⇒ ::String
Returns Optional. For organizations, if unset, will match all projects.
4929 4930 4931 4932 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 4929 class CloudStorageRegex include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |