Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1LDiversityConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dlp_v2beta1/classes.rb,
generated/google/apis/dlp_v2beta1/representations.rb,
generated/google/apis/dlp_v2beta1/representations.rb

Overview

l-diversity metric, used for analysis of reidentification risk.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2beta1LDiversityConfig

Returns a new instance of GooglePrivacyDlpV2beta1LDiversityConfig



1892
1893
1894
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1892

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#quasi_idsArray<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId>

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



1885
1886
1887
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1885

def quasi_ids
  @quasi_ids
end

#sensitive_attributeGoogle::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId

General identifier of a data field in a storage service. Corresponds to the JSON property sensitiveAttribute



1890
1891
1892
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1890

def sensitive_attribute
  @sensitive_attribute
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1897
1898
1899
1900
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1897

def update!(**args)
  @quasi_ids = args[:quasi_ids] if args.key?(:quasi_ids)
  @sensitive_attribute = args[:sensitive_attribute] if args.key?(:sensitive_attribute)
end