Google Cloud Data Loss Prevention v2 API - Class CustomInfoType.Types.DetectionRule.Types.Proximity (4.6.0)

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

Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class CustomInfoType.Types.DetectionRule.Types.Proximity.

Message for specifying a window around a finding to apply a detection rule.

Inheritance

object > CustomInfoType.Types.DetectionRule.Types.Proximity

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

Proximity()

public Proximity()

Proximity(Proximity)

public Proximity(CustomInfoType.Types.DetectionRule.Types.Proximity other)
Parameter
NameDescription
otherCustomInfoTypeTypesDetectionRuleTypesProximity

Properties

WindowAfter

public int WindowAfter { get; set; }

Number of characters after the finding to consider.

Property Value
TypeDescription
int

WindowBefore

public int WindowBefore { get; set; }

Number of characters before the finding to consider. For tabular data, if you want to modify the likelihood of an entire column of findngs, set this to 1. For more information, see Hotword example: Set the match likelihood of a table column.

Property Value
TypeDescription
int