public sealed class Proximity : IMessage<CustomInfoType.Types.DetectionRule.Types.Proximity>, IEquatable<CustomInfoType.Types.DetectionRule.Types.Proximity>, IDeepCloneable<CustomInfoType.Types.DetectionRule.Types.Proximity>, IBufferMessage, IMessage
Message for specifying a window around a finding to apply a detection
rule.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-24 UTC."],[[["This webpage details the `Proximity` class, a component of the Google Cloud Data Loss Prevention (DLP) API's `CustomInfoType.Types.DetectionRule.Types`, used to define a context window around detected data."],["The `Proximity` class is found within the `Google.Cloud.Dlp.V2` namespace and is implemented as part of the `Google.Cloud.Dlp.V2.dll` assembly, and is available in numerous versions, including the latest 4.16.0 and many older ones."],["The class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing functionality for message handling, equality checks, deep cloning, and buffer message operations, respectively."],["Key properties of the `Proximity` class include `WindowAfter` and `WindowBefore`, both of which are integers that define the number of characters to consider after and before a finding, respectively, to determine context."],["It offers two constructors: a default parameterless constructor, and another that takes a `CustomInfoType.Types.DetectionRule.Types.Proximity` parameter for copying existing instances."]]],[]]