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

public sealed class CustomInfoType.Types.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(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