Class: Google::Apis::DlpV2::GooglePrivacyDlpV2LDiversityConfig
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DlpV2::GooglePrivacyDlpV2LDiversityConfig
 
 
- 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
l-diversity metric, used for analysis of reidentification risk.
Instance Attribute Summary collapse
- 
  
    
      #quasi_ids  ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Set of quasi-identifiers indicating how equivalence classes are defined for the l-diversity computation.
 - 
  
    
      #sensitive_attribute  ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
General identifier of a data field in a storage service.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GooglePrivacyDlpV2LDiversityConfig 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GooglePrivacyDlpV2LDiversityConfig.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2LDiversityConfig
Returns a new instance of GooglePrivacyDlpV2LDiversityConfig.
      6390 6391 6392  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 6390 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#quasi_ids ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId>
Set of quasi-identifiers indicating how equivalence classes are defined for
the l-diversity computation. When multiple fields are specified, they are
considered a single composite key.
Corresponds to the JSON property quasiIds
      6383 6384 6385  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 6383 def quasi_ids @quasi_ids end  | 
  
#sensitive_attribute ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId
General identifier of a data field in a storage service.
Corresponds to the JSON property sensitiveAttribute
      6388 6389 6390  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 6388 def sensitive_attribute @sensitive_attribute end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      6395 6396 6397 6398  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 6395 def update!(**args) @quasi_ids = args[:quasi_ids] if args.key?(:quasi_ids) @sensitive_attribute = args[:sensitive_attribute] if args.key?(:sensitive_attribute) end  |