Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1KMapEstimationConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dlp_v2beta1/classes.rb,
generated/google/apis/dlp_v2beta1/representations.rb,
generated/google/apis/dlp_v2beta1/representations.rb

Overview

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.

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

Returns a new instance of GooglePrivacyDlpV2beta1KMapEstimationConfig



2031
2032
2033
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2031

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

Instance Attribute Details

#auxiliary_tablesArray<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1AuxiliaryTable>

Several auxiliary tables can be used in the analysis. Each custom_tag used to tag a quasi-identifiers column must appear in exactly one column of one auxiliary table. Corresponds to the JSON property auxiliaryTables



2016
2017
2018
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2016

def auxiliary_tables
  @auxiliary_tables
end

#quasi_idsArray<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1TaggedField>

Fields considered to be quasi-identifiers. No two columns can have the same tag. [required] Corresponds to the JSON property quasiIds



2022
2023
2024
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2022

def quasi_ids
  @quasi_ids
end

#region_codeString

ISO 3166-1 alpha-2 region code to use in the statistical modeling. Required if no column is tagged with a region-specific InfoType (like US_ZIP_5) or a region code. Corresponds to the JSON property regionCode

Returns:

  • (String)


2029
2030
2031
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2029

def region_code
  @region_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2036
2037
2038
2039
2040
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2036

def update!(**args)
  @auxiliary_tables = args[:auxiliary_tables] if args.key?(:auxiliary_tables)
  @quasi_ids = args[:quasi_ids] if args.key?(:quasi_ids)
  @region_code = args[:region_code] if args.key?(:region_code)
end