Class: Google::Apis::DlpV2::GooglePrivacyDlpV2WordList
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DlpV2::GooglePrivacyDlpV2WordList
 
 
- 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
Message defining a list of words or phrases to search for in the data.
Instance Attribute Summary collapse
- 
  
    
      #words  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Words or phrases defining the dictionary.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GooglePrivacyDlpV2WordList 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GooglePrivacyDlpV2WordList.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2WordList
Returns a new instance of GooglePrivacyDlpV2WordList.
      10247 10248 10249  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 10247 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#words ⇒ Array<String>
Words or phrases defining the dictionary. The dictionary must contain at least
one phrase and every phrase must contain at least 2 characters that are
letters or digits. [required]
Corresponds to the JSON property words
      10245 10246 10247  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 10245 def words @words end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      10252 10253 10254  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 10252 def update!(**args) @words = args[:words] if args.key?(:words) end  |