Class: Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues

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

A tuple of values for the quasi-identifier columns.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues

Returns a new instance of GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues.



3213
3214
3215
# File 'lib/google/apis/dlp_v2/classes.rb', line 3213

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

Instance Attribute Details

#estimated_probabilityFloat

The estimated probability that a given individual sharing these quasi- identifier values is in the dataset. This value, typically called δ, is the ratio between the number of records in the dataset with these quasi-identifier values, and the total number of individuals (inside and outside the dataset) with these quasi-identifier values. For example, if there are 15 individuals in the dataset who share the same quasi-identifier values, and an estimated 100 people in the entire population with these values, then δ is 0.15. Corresponds to the JSON property estimatedProbability

Returns:

  • (Float)


3206
3207
3208
# File 'lib/google/apis/dlp_v2/classes.rb', line 3206

def estimated_probability
  @estimated_probability
end

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

The quasi-identifier values. Corresponds to the JSON property quasiIdsValues



3211
3212
3213
# File 'lib/google/apis/dlp_v2/classes.rb', line 3211

def quasi_ids_values
  @quasi_ids_values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3218
3219
3220
3221
# File 'lib/google/apis/dlp_v2/classes.rb', line 3218

def update!(**args)
  @estimated_probability = args[:estimated_probability] if args.key?(:estimated_probability)
  @quasi_ids_values = args[:quasi_ids_values] if args.key?(:quasi_ids_values)
end