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.



2050
2051
2052
# File 'generated/google/apis/dlp_v2/classes.rb', line 2050

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)


2043
2044
2045
# File 'generated/google/apis/dlp_v2/classes.rb', line 2043

def estimated_probability
  @estimated_probability
end

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

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



2048
2049
2050
# File 'generated/google/apis/dlp_v2/classes.rb', line 2048

def quasi_ids_values
  @quasi_ids_values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2055
2056
2057
2058
# File 'generated/google/apis/dlp_v2/classes.rb', line 2055

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