public sealed class CloudStorageRegex : IMessage<CloudStorageRegex>, IEquatable<CloudStorageRegex>, IDeepCloneable<CloudStorageRegex>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class CloudStorageRegex.
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.
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
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-09 UTC."],[[["This webpage provides reference documentation for the `CloudStorageRegex` class within the Google Cloud Data Loss Prevention v2 API, specifically for the .NET environment."],["The `CloudStorageRegex` class is used to define patterns for matching against one or more file stores, using RE2 regular expression syntax."],["The latest available version of the documentation is 4.16.0, and older versions back to 2.15.0 are also available."],["Key properties of the `CloudStorageRegex` class include `BucketNameRegex` for matching bucket names and `ProjectIdRegex` for matching project IDs."],["The class implements multiple interfaces such as IMessage, IEquatable, IDeepCloneable and IBufferMessage, and inherits from the base object class."]]],[]]