Class: Google::Apis::DlpV2::GooglePrivacyDlpV2KAnonymityEquivalenceClass

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

Overview

The set of columns' values that share the same ldiversity value

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2KAnonymityEquivalenceClass

Returns a new instance of GooglePrivacyDlpV2KAnonymityEquivalenceClass.



3573
3574
3575
# File 'generated/google/apis/dlp_v2/classes.rb', line 3573

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

Instance Attribute Details

#equivalence_class_sizeFixnum

Size of the equivalence class, for example number of rows with the above set of values. Corresponds to the JSON property equivalenceClassSize

Returns:

  • (Fixnum)


3564
3565
3566
# File 'generated/google/apis/dlp_v2/classes.rb', line 3564

def equivalence_class_size
  @equivalence_class_size
end

#quasi_ids_valuesArray<Google::Apis::DlpV2::GooglePrivacyDlpV2Value>

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



3571
3572
3573
# File 'generated/google/apis/dlp_v2/classes.rb', line 3571

def quasi_ids_values
  @quasi_ids_values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3578
3579
3580
3581
# File 'generated/google/apis/dlp_v2/classes.rb', line 3578

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