Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1KAnonymityEquivalenceClass
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1KAnonymityEquivalenceClass
- 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
The set of columns' values that share the same k-anonymity value.
Instance Attribute Summary collapse
-
#equivalence_class_size ⇒ Fixnum
Size of the equivalence class, for example number of rows with the above set of values.
-
#quasi_ids_values ⇒ Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Value>
Set of values defining the equivalence class.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1KAnonymityEquivalenceClass
constructor
A new instance of GooglePrivacyDlpV2beta1KAnonymityEquivalenceClass.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1KAnonymityEquivalenceClass
Returns a new instance of GooglePrivacyDlpV2beta1KAnonymityEquivalenceClass
699 700 701 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 699 def initialize(**args) update!(**args) end |
Instance Attribute Details
#equivalence_class_size ⇒ Fixnum
Size of the equivalence class, for example number of rows with the
above set of values.
Corresponds to the JSON property equivalenceClassSize
690 691 692 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 690 def equivalence_class_size @equivalence_class_size end |
#quasi_ids_values ⇒ Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Value>
Set of values defining the equivalence class. One value per
quasi-identifier column in the original KAnonymity metric message.
The order is always the same as the original request.
Corresponds to the JSON property quasiIdsValues
697 698 699 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 697 def quasi_ids_values @quasi_ids_values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
704 705 706 707 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 704 def update!(**args) @equivalence_class_size = args[:equivalence_class_size] if args.key?(:equivalence_class_size) @quasi_ids_values = args[:quasi_ids_values] if args.key?(:quasi_ids_values) end |