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.
Implements
IMessageCustomInfoTypeTypesDetectionRuleTypesProximity, IEquatableCustomInfoTypeTypesDetectionRuleTypesProximity, IDeepCloneableCustomInfoTypeTypesDetectionRuleTypesProximity, IBufferMessage, IMessageNamespace
Google.Cloud.Dlp.V2Assembly
Google.Cloud.Dlp.V2.dll
Constructors
Proximity()
public Proximity()
Proximity(Proximity)
public Proximity(CustomInfoType.Types.DetectionRule.Types.Proximity other)
Parameter | |
---|---|
Name | Description |
other | CustomInfoTypeTypesDetectionRuleTypesProximity |
Properties
WindowAfter
public int WindowAfter { get; set; }
Number of characters after the finding to consider.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
int |