public sealed class Regex : IMessage<CustomInfoType.Types.Regex>, IEquatable<CustomInfoType.Types.Regex>, IDeepCloneable<CustomInfoType.Types.Regex>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class CustomInfoType.Types.Regex.
Message defining a custom regular expression.
Implements
IMessage<CustomInfoType.Types.Regex>, IEquatable<CustomInfoType.Types.Regex>, IDeepCloneable<CustomInfoType.Types.Regex>, IBufferMessage, IMessageNamespace
Google.Cloud.Dlp.V2Assembly
Google.Cloud.Dlp.V2.dll
Constructors
Regex()
public Regex()
Regex(CustomInfoType.Types.Regex)
public Regex(CustomInfoType.Types.Regex other)
Parameter | |
---|---|
Name | Description |
other | CustomInfoType.Types.Regex |
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 |
RepeatedField<Int32> |
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 |