Class: Google::Apis::DlpV2::GooglePrivacyDlpV2LDiversityEquivalenceClass

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/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) ⇒ GooglePrivacyDlpV2LDiversityEquivalenceClass

Returns a new instance of GooglePrivacyDlpV2LDiversityEquivalenceClass.



6399
6400
6401
# File 'lib/google/apis/dlp_v2/classes.rb', line 6399

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

Instance Attribute Details

#equivalence_class_sizeFixnum

Size of the k-anonymity equivalence class. Corresponds to the JSON property equivalenceClassSize

Returns:

  • (Fixnum)


6381
6382
6383
# File 'lib/google/apis/dlp_v2/classes.rb', line 6381

def equivalence_class_size
  @equivalence_class_size
end

#num_distinct_sensitive_valuesFixnum

Number of distinct sensitive values in this equivalence class. Corresponds to the JSON property numDistinctSensitiveValues

Returns:

  • (Fixnum)


6386
6387
6388
# File 'lib/google/apis/dlp_v2/classes.rb', line 6386

def num_distinct_sensitive_values
  @num_distinct_sensitive_values
end

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

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



6392
6393
6394
# File 'lib/google/apis/dlp_v2/classes.rb', line 6392

def quasi_ids_values
  @quasi_ids_values
end

#top_sensitive_valuesArray<Google::Apis::DlpV2::GooglePrivacyDlpV2ValueFrequency>

Estimated frequencies of top sensitive values. Corresponds to the JSON property topSensitiveValues



6397
6398
6399
# File 'lib/google/apis/dlp_v2/classes.rb', line 6397

def top_sensitive_values
  @top_sensitive_values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6404
6405
6406
6407
6408
6409
# File 'lib/google/apis/dlp_v2/classes.rb', line 6404

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