Class: Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationConfig

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

δ-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.

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

Returns a new instance of GooglePrivacyDlpV2DeltaPresenceEstimationConfig



1726
1727
1728
# File 'generated/google/apis/dlp_v2/classes.rb', line 1726

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

Instance Attribute Details

#auxiliary_tablesArray<Google::Apis::DlpV2::GooglePrivacyDlpV2StatisticalTable>

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



1711
1712
1713
# File 'generated/google/apis/dlp_v2/classes.rb', line 1711

def auxiliary_tables
  @auxiliary_tables
end

#quasi_idsArray<Google::Apis::DlpV2::GooglePrivacyDlpV2QuasiId>

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



1717
1718
1719
# File 'generated/google/apis/dlp_v2/classes.rb', line 1717

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)


1724
1725
1726
# File 'generated/google/apis/dlp_v2/classes.rb', line 1724

def region_code
  @region_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1731
1732
1733
1734
1735
# File 'generated/google/apis/dlp_v2/classes.rb', line 1731

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