public sealed class CustomInfoType.Types.Regex : IMessage<CustomInfoType.Types.Regex>, IEquatable<CustomInfoType.Types.Regex>, IDeepCloneable<CustomInfoType.Types.Regex>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class CustomInfoType.Types.Regex.
Message defining a custom regular expression.
Implements
IMessageCustomInfoTypeTypesRegex, IEquatableCustomInfoTypeTypesRegex, IDeepCloneableCustomInfoTypeTypesRegex, IBufferMessage, IMessageNamespace
Google.Cloud.Dlp.V2Assembly
Google.Cloud.Dlp.V2.dll
Constructors
Regex()
public Regex()Regex(Regex)
public Regex(CustomInfoType.Types.Regex other)| Parameter | |
|---|---|
| Name | Description |
other |
CustomInfoTypeTypesRegex |
Properties
GroupIndexes
public RepeatedField<int> GroupIndexes { get; }The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldint |
|
Pattern
public string Pattern { get; set; }Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
| Property Value | |
|---|---|
| Type | Description |
string |
|