Google Cloud Data Loss Prevention v2 API - Class CustomInfoType.Types.Regex (4.2.0)

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.

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