Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1LDiversityConfig
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1LDiversityConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2beta2/classes.rb,
generated/google/apis/dlp_v2beta2/representations.rb,
generated/google/apis/dlp_v2beta2/representations.rb
Overview
l-diversity metric, used for analysis of reidentification risk.
Instance Attribute Summary collapse
-
#quasi_ids ⇒ Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1FieldId>
Set of quasi-identifiers indicating how equivalence classes are defined for the l-diversity computation.
-
#sensitive_attribute ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1FieldId
General identifier of a data field in a storage service.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1LDiversityConfig
constructor
A new instance of GooglePrivacyDlpV2beta1LDiversityConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1LDiversityConfig
Returns a new instance of GooglePrivacyDlpV2beta1LDiversityConfig
940 941 942 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 940 def initialize(**args) update!(**args) end |
Instance Attribute Details
#quasi_ids ⇒ Array<Google::Apis::DlpV2beta2::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
933 934 935 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 933 def quasi_ids @quasi_ids end |
#sensitive_attribute ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1FieldId
General identifier of a data field in a storage service.
Corresponds to the JSON property sensitiveAttribute
938 939 940 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 938 def sensitive_attribute @sensitive_attribute end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
945 946 947 948 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 945 def update!(**args) @quasi_ids = args[:quasi_ids] if args.key?(:quasi_ids) @sensitive_attribute = args[:sensitive_attribute] if args.key?(:sensitive_attribute) end |