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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eProximity\u003c/code\u003e class, a message type used to define a detection window around a finding for applying detection rules within Google Cloud DLP.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eProximity\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.Dlp.V2\u003c/code\u003e namespace and is contained in the \u003ccode\u003eGoogle.Cloud.Dlp.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 4.16.0, while the versions range down to 2.15.0, all specifying the same class of \u003ccode\u003eProximity\u003c/code\u003e within different version number releases.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eProximity\u003c/code\u003e class has two integer properties, \u003ccode\u003eWindowAfter\u003c/code\u003e and \u003ccode\u003eWindowBefore\u003c/code\u003e, which are utilized to set the number of characters to consider after and before a finding.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eObject\u003c/code\u003e and implements \u003ccode\u003eIMessage<CustomInfoType.Types.DetectionRule.Types.Proximity>\u003c/code\u003e, \u003ccode\u003eIEquatable<CustomInfoType.Types.DetectionRule.Types.Proximity>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<CustomInfoType.Types.DetectionRule.Types.Proximity>\u003c/code\u003e, \u003ccode\u003eIBufferMessage\u003c/code\u003e, and \u003ccode\u003eIMessage\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]