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 component of the Google Cloud Data Loss Prevention (DLP) API, specifically within \u003ccode\u003eCustomInfoType.Types.DetectionRule.Types\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eProximity\u003c/code\u003e class is designed to define a window around a finding, determining how many characters before and after the detected data should be considered when applying a detection rule.\u003c/p\u003e\n"],["\u003cp\u003eIt is derived from the \u003ccode\u003eObject\u003c/code\u003e class and implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe page provides details on the class's constructors, including a parameter for creating a new \u003ccode\u003eProximity\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eKey properties \u003ccode\u003eWindowAfter\u003c/code\u003e and \u003ccode\u003eWindowBefore\u003c/code\u003e within the class are for setting the number of characters to be considered after and before a finding, respectively, both as \u003ccode\u003eInt32\u003c/code\u003e types.\u003c/p\u003e\n"]]],[],null,[]]