Class: Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationDescription
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationDescription
 
 
- 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
A flattened description of a PrimitiveTransformation or RecordSuppression.
Instance Attribute Summary collapse
- 
  
    
      #condition  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A human-readable string representation of the
RecordConditioncorresponding to this transformation. - 
  
    
      #description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A description of the transformation.
 - 
  
    
      #info_type  ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Type of information detected by the API.
 - 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The transformation type.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GooglePrivacyDlpV2TransformationDescription 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GooglePrivacyDlpV2TransformationDescription.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2TransformationDescription
Returns a new instance of GooglePrivacyDlpV2TransformationDescription.
      9596 9597 9598  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 9596 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#condition ⇒ String
A human-readable string representation of the RecordCondition corresponding
to this transformation. Set if a RecordCondition was used to determine
whether or not to apply this transformation. Examples: * (age_field > 85) * (
age_field <= 18) * (zip_field exists) * (zip_field == 01234) && (city_field !=
"Springville") * (zip_field == 01234) && (age_field <= 18) && (city_field
exists)
Corresponds to the JSON property condition
      9577 9578 9579  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 9577 def condition @condition end  | 
  
#description ⇒ String
A description of the transformation. This is empty for a RECORD_SUPPRESSION,
or is the output of calling toString() on the PrimitiveTransformation
protocol buffer message for any other type of transformation.
Corresponds to the JSON property description
      9584 9585 9586  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 9584 def description @description end  | 
  
#info_type ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType
Type of information detected by the API.
Corresponds to the JSON property infoType
      9589 9590 9591  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 9589 def info_type @info_type end  | 
  
#type ⇒ String
The transformation type.
Corresponds to the JSON property type
      9594 9595 9596  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 9594 def type @type end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      9601 9602 9603 9604 9605 9606  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 9601 def update!(**args) @condition = args[:condition] if args.key?(:condition) @description = args[:description] if args.key?(:description) @info_type = args[:info_type] if args.key?(:info_type) @type = args[:type] if args.key?(:type) end  |