Google Cloud Data Loss Prevention v2 API - Class ExcludeByHotword (4.4.0)

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 a BigQuery column matches a specific pattern.

Inheritance

Object > ExcludeByHotword

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

ExcludeByHotword()

public ExcludeByHotword()

ExcludeByHotword(ExcludeByHotword)

public ExcludeByHotword(ExcludeByHotword other)
Parameter
NameDescription
otherExcludeByHotword

Properties

HotwordRegex

public CustomInfoType.Types.Regex HotwordRegex { get; set; }

Regular expression pattern defining what qualifies as a hotword.

Property Value
TypeDescription
CustomInfoType.Types.Regex

Proximity

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.

Property Value
TypeDescription
CustomInfoType.Types.DetectionRule.Types.Proximity