Class CustomInfoType.Types.Regex (3.5.0)

public sealed class Regex : IMessage<CustomInfoType.Types.Regex>, IEquatable<CustomInfoType.Types.Regex>, IDeepCloneable<CustomInfoType.Types.Regex>, IBufferMessage, IMessage

Message defining a custom regular expression.

Inheritance

Object > CustomInfoType.Types.Regex

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

Regex()

public Regex()

Regex(CustomInfoType.Types.Regex)

public Regex(CustomInfoType.Types.Regex other)
Parameter
NameDescription
otherCustomInfoType.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
TypeDescription
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
TypeDescription
String