Class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeTransformation
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeTransformation
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/dlp_v2/classes.rb,
generated/google/apis/dlp_v2/representations.rb,
generated/google/apis/dlp_v2/representations.rb 
Overview
A transformation to apply to text that is identified as a specific info_type.
Instance Attribute Summary collapse
- 
  
    
      #info_types  ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
InfoTypes to apply the transformation to.
 - 
  
    
      #primitive_transformation  ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2PrimitiveTransformation 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A rule for transforming a value.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GooglePrivacyDlpV2InfoTypeTransformation 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GooglePrivacyDlpV2InfoTypeTransformation.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2InfoTypeTransformation
Returns a new instance of GooglePrivacyDlpV2InfoTypeTransformation
      2559 2560 2561  | 
    
      # File 'generated/google/apis/dlp_v2/classes.rb', line 2559 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#info_types ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType>
InfoTypes to apply the transformation to. An empty list will cause
this transformation to apply to all findings that correspond to
infoTypes that were requested in InspectConfig.
Corresponds to the JSON property infoTypes
      2552 2553 2554  | 
    
      # File 'generated/google/apis/dlp_v2/classes.rb', line 2552 def info_types @info_types end  | 
  
#primitive_transformation ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2PrimitiveTransformation
A rule for transforming a value.
Corresponds to the JSON property primitiveTransformation
      2557 2558 2559  | 
    
      # File 'generated/google/apis/dlp_v2/classes.rb', line 2557 def primitive_transformation @primitive_transformation end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2564 2565 2566 2567  | 
    
      # File 'generated/google/apis/dlp_v2/classes.rb', line 2564 def update!(**args) @info_types = args[:info_types] if args.key?(:info_types) @primitive_transformation = args[:primitive_transformation] if args.key?(:primitive_transformation) end  |