Reference documentation and code samples for the Data Loss Prevention V2 Client class KMapEstimationConfig.
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.
Generated from protobuf messagegoogle.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig
Required. Fields considered to be quasi-identifiers. No two columns can have the same tag.
↳ region_code
string
ISO 3166-1 alpha-2 region code to use in the statistical modeling. Set if no column is tagged with a region-specific InfoType (like US_ZIP_5) or a region code.
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.
getQuasiIds
Required. Fields considered to be quasi-identifiers. No two columns can
have the same tag.
ISO 3166-1 alpha-2 region code to use in the statistical modeling.
Set if no column is tagged with a region-specific InfoType (like
US_ZIP_5) or a region code.
Returns
Type
Description
string
setRegionCode
ISO 3166-1 alpha-2 region code to use in the statistical modeling.
Set if no column is tagged with a region-specific InfoType (like
US_ZIP_5) or a region code.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getAuxiliaryTables
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Data Loss Prevention V2 Client - Class KMapEstimationConfig (2.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.1 (latest)](/php/docs/reference/cloud-dlp/latest/V2.PrivacyMetric.KMapEstimationConfig)\n- [2.6.0](/php/docs/reference/cloud-dlp/2.6.0/V2.PrivacyMetric.KMapEstimationConfig)\n- [2.4.1](/php/docs/reference/cloud-dlp/2.4.1/V2.PrivacyMetric.KMapEstimationConfig)\n- [2.3.0](/php/docs/reference/cloud-dlp/2.3.0/V2.PrivacyMetric.KMapEstimationConfig)\n- [2.2.3](/php/docs/reference/cloud-dlp/2.2.3/V2.PrivacyMetric.KMapEstimationConfig)\n- [2.1.0](/php/docs/reference/cloud-dlp/2.1.0/V2.PrivacyMetric.KMapEstimationConfig)\n- [2.0.0](/php/docs/reference/cloud-dlp/2.0.0/V2.PrivacyMetric.KMapEstimationConfig)\n- [1.19.0](/php/docs/reference/cloud-dlp/1.19.0/V2.PrivacyMetric.KMapEstimationConfig)\n- [1.18.0](/php/docs/reference/cloud-dlp/1.18.0/V2.PrivacyMetric.KMapEstimationConfig)\n- [1.17.0](/php/docs/reference/cloud-dlp/1.17.0/V2.PrivacyMetric.KMapEstimationConfig)\n- [1.16.0](/php/docs/reference/cloud-dlp/1.16.0/V2.PrivacyMetric.KMapEstimationConfig)\n- [1.15.1](/php/docs/reference/cloud-dlp/1.15.1/V2.PrivacyMetric.KMapEstimationConfig)\n- [1.14.0](/php/docs/reference/cloud-dlp/1.14.0/V2.PrivacyMetric.KMapEstimationConfig)\n- [1.13.2](/php/docs/reference/cloud-dlp/1.13.2/V2.PrivacyMetric.KMapEstimationConfig)\n- [1.12.0](/php/docs/reference/cloud-dlp/1.12.0/V2.PrivacyMetric.KMapEstimationConfig)\n- [1.11.0](/php/docs/reference/cloud-dlp/1.11.0/V2.PrivacyMetric.KMapEstimationConfig)\n- [1.10.2](/php/docs/reference/cloud-dlp/1.10.2/V2.PrivacyMetric.KMapEstimationConfig)\n- [1.9.0](/php/docs/reference/cloud-dlp/1.9.0/V2.PrivacyMetric.KMapEstimationConfig)\n- [1.8.6](/php/docs/reference/cloud-dlp/1.8.6/V2.PrivacyMetric.KMapEstimationConfig) \nReference documentation and code samples for the Data Loss Prevention V2 Client class KMapEstimationConfig.\n\nReidentifiability metric. This corresponds to a risk model similar to what\nis called \"journalist risk\" in the literature, except the attack dataset is\nstatistically modeled instead of being perfectly known. This can be done\nusing publicly available data (like the US Census), or using a custom\nstatistical model (indicated as one or several BigQuery tables), or by\nextrapolating from the distribution of values in the input dataset.\n\nGenerated from protobuf message `google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dlp \\\\ V2 \\\\ PrivacyMetric\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getQuasiIds\n\nRequired. Fields considered to be quasi-identifiers. No two columns can\nhave the same tag.\n\n### setQuasiIds\n\nRequired. Fields considered to be quasi-identifiers. No two columns can\nhave the same tag.\n\n### getRegionCode\n\nISO 3166-1 alpha-2 region code to use in the statistical modeling.\n\nSet if no column is tagged with a region-specific InfoType (like\nUS_ZIP_5) or a region code.\n\n### setRegionCode\n\nISO 3166-1 alpha-2 region code to use in the statistical modeling.\n\nSet if no column is tagged with a region-specific InfoType (like\nUS_ZIP_5) or a region code.\n\n### getAuxiliaryTables\n\nSeveral auxiliary tables can be used in the analysis. Each custom_tag\nused to tag a quasi-identifiers column must appear in exactly one column\nof one auxiliary table.\n\n### setAuxiliaryTables\n\nSeveral auxiliary tables can be used in the analysis. Each custom_tag\nused to tag a quasi-identifiers column must appear in exactly one column\nof one auxiliary table."]]