Class: Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeByHotword
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeByHotword
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/google/apis/dlp_v2/representations.rb 
Overview
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.
Instance Attribute Summary collapse
- 
  
    
      #hotword_regex  ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Regex 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Message defining a custom regular expression.
 - 
  
    
      #proximity  ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Proximity 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Message for specifying a window around a finding to apply a detection rule.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GooglePrivacyDlpV2ExcludeByHotword 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GooglePrivacyDlpV2ExcludeByHotword.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2ExcludeByHotword
Returns a new instance of GooglePrivacyDlpV2ExcludeByHotword.
      4110 4111 4112  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 4110 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#hotword_regex ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Regex
Message defining a custom regular expression.
Corresponds to the JSON property hotwordRegex
      4103 4104 4105  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 4103 def hotword_regex @hotword_regex end  | 
  
#proximity ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Proximity
Message for specifying a window around a finding to apply a detection rule.
Corresponds to the JSON property proximity
      4108 4109 4110  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 4108 def proximity @proximity end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      4115 4116 4117 4118  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 4115 def update!(**args) @hotword_regex = args[:hotword_regex] if args.key?(:hotword_regex) @proximity = args[:proximity] if args.key?(:proximity) end  |