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.
[[["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 page details the `Proximity` class, a component of the Google Cloud Data Loss Prevention (DLP) API, specifically within `CustomInfoType.Types.DetectionRule.Types`."],["The `Proximity` class is designed to define a window around a finding, within which a detection rule is applied, allowing you to specify the range of characters before and after a match that will be considered."],["The latest version available for reference is 4.16.0, but this page also includes documentation for several older versions of the `Google.Cloud.Dlp.V2` library, including version 3.5.0."],["`Proximity` implements multiple interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage` and inherits from `Object`, providing methods for deep cloning, buffering, and message handling."],["The `Proximity` class has two public properties, `WindowAfter` and `WindowBefore`, which are both of type `Int32` and specify the number of characters to consider after and before a finding, respectively."]]],[]]