Class: Google::Apis::DlpV2::GooglePrivacyDlpV2KAnonymityConfig
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DlpV2::GooglePrivacyDlpV2KAnonymityConfig
 
 
- 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
k-anonymity metric, used for analysis of reidentification risk.
Instance Attribute Summary collapse
- 
  
    
      #entity_id  ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2EntityId 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
An entity in a dataset is a field or set of fields that correspond to a single person.
 - 
  
    
      #quasi_ids  ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Set of fields to compute k-anonymity over.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GooglePrivacyDlpV2KAnonymityConfig 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GooglePrivacyDlpV2KAnonymityConfig.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2KAnonymityConfig
Returns a new instance of GooglePrivacyDlpV2KAnonymityConfig.
      6046 6047 6048  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 6046 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#entity_id ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2EntityId
An entity in a dataset is a field or set of fields that correspond to a single
person. For example, in medical records the EntityId might be a patient
identifier, or for financial records it might be an account identifier. This
message is used when generalizations or analysis must take into account that
multiple rows correspond to the same entity.
Corresponds to the JSON property entityId
      6036 6037 6038  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 6036 def entity_id @entity_id end  | 
  
#quasi_ids ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId>
Set of fields to compute k-anonymity over. When multiple fields are specified,
they are considered a single composite key. Structs and repeated data types
are not supported; however, nested fields are supported so long as they are
not structs themselves or nested within a repeated field.
Corresponds to the JSON property quasiIds
      6044 6045 6046  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 6044 def quasi_ids @quasi_ids end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      6051 6052 6053 6054  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 6051 def update!(**args) @entity_id = args[:entity_id] if args.key?(:entity_id) @quasi_ids = args[:quasi_ids] if args.key?(:quasi_ids) end  |