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"]],[["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-04-09 UTC."],[[["The latest version of the Google Cloud Data Loss Prevention v2 API documented is 4.16.0, with this page specifically covering version 4.15.0, but also offers access to older version documentations."],["`ExcludeByHotword` is a class in the Google Cloud Data Loss Prevention v2 API that allows excluding findings based on the presence of a specific \"hotword\", with column names being considered as potential hotwords."],["The `ExcludeByHotword` class implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage` and it inherits from the `object` class."],["`ExcludeByHotword` class allows the user to define a `HotwordRegex` property which is used to define a regular expression that will be used to identify hotwords that will be excluded, as well as a `Proximity` property, setting the range of characters for the hotword to reside in."],["The windowBefore property of the proximity setting, should be set to 1 to include the hotword in a column header."]]],[]]