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

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues

Returns a new instance of GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues.



1962
1963
1964
# File 'generated/google/apis/dlp_v2/classes.rb', line 1962

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)


1955
1956
1957
# File 'generated/google/apis/dlp_v2/classes.rb', line 1955

def estimated_probability
  @estimated_probability
end

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

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



1960
1961
1962
# File 'generated/google/apis/dlp_v2/classes.rb', line 1960

def quasi_ids_values
  @quasi_ids_values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1967
1968
1969
1970
# File 'generated/google/apis/dlp_v2/classes.rb', line 1967

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