Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2LDiversityEquivalenceClass
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2LDiversityEquivalenceClass
- 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 ldiversity value.
Instance Attribute Summary collapse
-
#equivalence_class_size ⇒ Fixnum
Size of the k-anonymity equivalence class.
-
#num_distinct_sensitive_values ⇒ Fixnum
Number of distinct sensitive values in this equivalence class.
-
#quasi_ids_values ⇒ Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value>
Quasi-identifier values defining the k-anonymity equivalence class.
-
#top_sensitive_values ⇒ Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ValueFrequency>
Estimated frequencies of top sensitive values.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2LDiversityEquivalenceClass
constructor
A new instance of GooglePrivacyDlpV2beta2LDiversityEquivalenceClass.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2LDiversityEquivalenceClass
Returns a new instance of GooglePrivacyDlpV2beta2LDiversityEquivalenceClass
4392 4393 4394 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4392 def initialize(**args) update!(**args) end |
Instance Attribute Details
#equivalence_class_size ⇒ Fixnum
Size of the k-anonymity equivalence class.
Corresponds to the JSON property equivalenceClassSize
4374 4375 4376 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4374 def equivalence_class_size @equivalence_class_size end |
#num_distinct_sensitive_values ⇒ Fixnum
Number of distinct sensitive values in this equivalence class.
Corresponds to the JSON property numDistinctSensitiveValues
4379 4380 4381 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4379 def num_distinct_sensitive_values @num_distinct_sensitive_values end |
#quasi_ids_values ⇒ Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value>
Quasi-identifier values defining the k-anonymity equivalence
class. The order is always the same as the original request.
Corresponds to the JSON property quasiIdsValues
4385 4386 4387 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4385 def quasi_ids_values @quasi_ids_values end |
#top_sensitive_values ⇒ Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ValueFrequency>
Estimated frequencies of top sensitive values.
Corresponds to the JSON property topSensitiveValues
4390 4391 4392 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4390 def top_sensitive_values @top_sensitive_values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4397 4398 4399 4400 4401 4402 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4397 def update!(**args) @equivalence_class_size = args[:equivalence_class_size] if args.key?(:equivalence_class_size) @num_distinct_sensitive_values = args[:num_distinct_sensitive_values] if args.key?(:num_distinct_sensitive_values) @quasi_ids_values = args[:quasi_ids_values] if args.key?(:quasi_ids_values) @top_sensitive_values = args[:top_sensitive_values] if args.key?(:top_sensitive_values) end |