class Google::Apis::DlpV2::GooglePrivacyDlpV2PrivacyMetric

Privacy metric to compute for reidentification risk analysis.

Attributes

categorical_stats_config[RW]

Compute numerical stats over an individual column, including number of distinct values and value count distribution. Corresponds to the JSON property `categoricalStatsConfig` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CategoricalStatsConfig]

delta_presence_estimation_config[RW]

δ-presence metric, used to estimate how likely it is for an attacker to figure out that one given individual appears in a de-identified dataset. Similarly to the k-map metric, we cannot compute δ-presence exactly without knowing the attack dataset, so we use a statistical model instead. Corresponds to the JSON property `deltaPresenceEstimationConfig` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationConfig]

k_anonymity_config[RW]

k-anonymity metric, used for analysis of reidentification risk. Corresponds to the JSON property `kAnonymityConfig` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2KAnonymityConfig]

k_map_estimation_config[RW]

Reidentifiability metric. This corresponds to a risk model similar to what is called “journalist risk” in the literature, except the attack dataset is statistically modeled instead of being perfectly known. This can be done using publicly available data (like the US Census), or using a custom statistical model (indicated as one or several BigQuery tables), or by extrapolating from the distribution of values in the input dataset. Corresponds to the JSON property `kMapEstimationConfig` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2KMapEstimationConfig]

l_diversity_config[RW]

l-diversity metric, used for analysis of reidentification risk. Corresponds to the JSON property `lDiversityConfig` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2LDiversityConfig]

numerical_stats_config[RW]

Compute numerical stats over an individual column, including min, max, and quantiles. Corresponds to the JSON property `numericalStatsConfig` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2NumericalStatsConfig]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dlp_v2/classes.rb, line 4661
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dlp_v2/classes.rb, line 4666
def update!(**args)
  @categorical_stats_config = args[:categorical_stats_config] if args.key?(:categorical_stats_config)
  @delta_presence_estimation_config = args[:delta_presence_estimation_config] if args.key?(:delta_presence_estimation_config)
  @k_anonymity_config = args[:k_anonymity_config] if args.key?(:k_anonymity_config)
  @k_map_estimation_config = args[:k_map_estimation_config] if args.key?(:k_map_estimation_config)
  @l_diversity_config = args[:l_diversity_config] if args.key?(:l_diversity_config)
  @numerical_stats_config = args[:numerical_stats_config] if args.key?(:numerical_stats_config)
end