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

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

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

Properties

WindowAfter

public int WindowAfter { get; set; }

Number of characters after the finding to consider.

Property Value
TypeDescription
Int32

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
Int32