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

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

A tuple of values for the quasi-identifier columns.

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) ⇒ GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues

Returns a new instance of GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues



1811
1812
1813
# File 'generated/google/apis/dlp_v2/classes.rb', line 1811

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)


1804
1805
1806
# File 'generated/google/apis/dlp_v2/classes.rb', line 1804

def estimated_probability
  @estimated_probability
end

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

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



1809
1810
1811
# File 'generated/google/apis/dlp_v2/classes.rb', line 1809

def quasi_ids_values
  @quasi_ids_values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1816
1817
1818
1819
# File 'generated/google/apis/dlp_v2/classes.rb', line 1816

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