Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1LDiversityEquivalenceClass

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

Overview

The set of columns' values that share the same l-diversity value.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2beta1LDiversityEquivalenceClass

Returns a new instance of GooglePrivacyDlpV2beta1LDiversityEquivalenceClass



2279
2280
2281
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2279

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)


2261
2262
2263
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2261

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)


2266
2267
2268
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2266

def num_distinct_sensitive_values
  @num_distinct_sensitive_values
end

#quasi_ids_valuesArray<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value>

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



2272
2273
2274
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2272

def quasi_ids_values
  @quasi_ids_values
end

#top_sensitive_valuesArray<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ValueFrequency>

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



2277
2278
2279
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2277

def top_sensitive_values
  @top_sensitive_values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2284
2285
2286
2287
2288
2289
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2284

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