public sealed class ExcludeByHotword : IMessage<ExcludeByHotword>, IEquatable<ExcludeByHotword>, IDeepCloneable<ExcludeByHotword>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class ExcludeByHotword.
The rule to exclude findings based on a hotword. For record inspection of
tables, column names are considered hotwords. An example of this is to
exclude a finding if it belongs to a BigQuery column that matches a specific
pattern.
public CustomInfoType.Types.DetectionRule.Types.Proximity Proximity { get; set; }
Range of characters within which the entire hotword must reside.
The total length of the window cannot exceed 1000 characters.
The windowBefore property in proximity should be set to 1 if the hotword
needs to be included in a column header.
[[["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 document provides reference and code samples for the \u003ccode\u003eExcludeByHotword\u003c/code\u003e class in the Google Cloud Data Loss Prevention (DLP) v2 API, specifically within the .NET environment.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eExcludeByHotword\u003c/code\u003e class is used to define rules for excluding findings based on the presence of a hotword, including the consideration of column names as hotwords in table inspections.\u003c/p\u003e\n"],["\u003cp\u003eThe document includes various versions of the API, ranging from 2.15.0 up to the latest 4.16.0, where they can use the \u003ccode\u003eExcludeByHotword\u003c/code\u003e class, each with its respective documentation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eExcludeByHotword\u003c/code\u003e properties include \u003ccode\u003eHotwordRegex\u003c/code\u003e to specify a regular expression pattern for hotword identification, and \u003ccode\u003eProximity\u003c/code\u003e to define the range within which the hotword must reside.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from object, and implements IMessage, IEquatable, IDeepCloneable and IBufferMessage, and is part of the Google.Cloud.Dlp.V2 namespace.\u003c/p\u003e\n"]]],[],null,[]]