Class: Google::Apis::DlpV2::GooglePrivacyDlpV2CharsToIgnore
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DlpV2::GooglePrivacyDlpV2CharsToIgnore
 
 
- 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
Characters to skip when doing deidentification of a value. These will be left alone and skipped.
Instance Attribute Summary collapse
- 
  
    
      #characters_to_skip  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Characters to not transform when masking.
 - 
  
    
      #common_characters_to_ignore  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Common characters to not transform when masking.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GooglePrivacyDlpV2CharsToIgnore 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GooglePrivacyDlpV2CharsToIgnore.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2CharsToIgnore
Returns a new instance of GooglePrivacyDlpV2CharsToIgnore.
      935 936 937  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 935 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#characters_to_skip ⇒ String
Characters to not transform when masking.
Corresponds to the JSON property charactersToSkip
      927 928 929  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 927 def characters_to_skip @characters_to_skip end  | 
  
#common_characters_to_ignore ⇒ String
Common characters to not transform when masking. Useful to avoid removing
punctuation.
Corresponds to the JSON property commonCharactersToIgnore
      933 934 935  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 933 def common_characters_to_ignore @common_characters_to_ignore end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      940 941 942 943  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 940 def update!(**args) @characters_to_skip = args[:characters_to_skip] if args.key?(:characters_to_skip) @common_characters_to_ignore = args[:common_characters_to_ignore] if args.key?(:common_characters_to_ignore) end  |