A column can be tagged with a InfoType to use the relevant public dataset as a statistical model of population, if available. We currently support US ZIP codes, region codes, ages and genders. To programmatically obtain the list of supported InfoTypes, use ListInfoTypes with the supported_by=RISK_ANALYSIS filter.
↳ custom_tag
string
A column can be tagged with a custom tag. In this case, the user must indicate an auxiliary table that contains statistical information on the possible values of this column (below).
A column can be tagged with a InfoType to use the relevant public
dataset as a statistical model of population, if available. We
currently support US ZIP codes, region codes, ages and genders.
To programmatically obtain the list of supported InfoTypes, use
ListInfoTypes with the supported_by=RISK_ANALYSIS filter.
A column can be tagged with a InfoType to use the relevant public
dataset as a statistical model of population, if available. We
currently support US ZIP codes, region codes, ages and genders.
To programmatically obtain the list of supported InfoTypes, use
ListInfoTypes with the supported_by=RISK_ANALYSIS filter.
A column can be tagged with a custom tag. In this case, the user must
indicate an auxiliary table that contains statistical information on
the possible values of this column (below).
Returns
Type
Description
string
hasCustomTag
setCustomTag
A column can be tagged with a custom tag. In this case, the user must
indicate an auxiliary table that contains statistical information on
the possible values of this column (below).
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getInferred
If no semantic tag is indicated, we infer the statistical model from
the distribution of values in the input data
[[["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 QuasiId (2.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.1 (latest)](/php/docs/reference/cloud-dlp/latest/V2.QuasiId)\n- [2.6.0](/php/docs/reference/cloud-dlp/2.6.0/V2.QuasiId)\n- [2.4.1](/php/docs/reference/cloud-dlp/2.4.1/V2.QuasiId)\n- [2.3.0](/php/docs/reference/cloud-dlp/2.3.0/V2.QuasiId)\n- [2.2.3](/php/docs/reference/cloud-dlp/2.2.3/V2.QuasiId)\n- [2.1.0](/php/docs/reference/cloud-dlp/2.1.0/V2.QuasiId)\n- [2.0.0](/php/docs/reference/cloud-dlp/2.0.0/V2.QuasiId)\n- [1.19.0](/php/docs/reference/cloud-dlp/1.19.0/V2.QuasiId)\n- [1.18.0](/php/docs/reference/cloud-dlp/1.18.0/V2.QuasiId)\n- [1.17.0](/php/docs/reference/cloud-dlp/1.17.0/V2.QuasiId)\n- [1.16.0](/php/docs/reference/cloud-dlp/1.16.0/V2.QuasiId)\n- [1.15.1](/php/docs/reference/cloud-dlp/1.15.1/V2.QuasiId)\n- [1.14.0](/php/docs/reference/cloud-dlp/1.14.0/V2.QuasiId)\n- [1.13.2](/php/docs/reference/cloud-dlp/1.13.2/V2.QuasiId)\n- [1.12.0](/php/docs/reference/cloud-dlp/1.12.0/V2.QuasiId)\n- [1.11.0](/php/docs/reference/cloud-dlp/1.11.0/V2.QuasiId)\n- [1.10.2](/php/docs/reference/cloud-dlp/1.10.2/V2.QuasiId)\n- [1.9.0](/php/docs/reference/cloud-dlp/1.9.0/V2.QuasiId)\n- [1.8.6](/php/docs/reference/cloud-dlp/1.8.6/V2.QuasiId) \nReference documentation and code samples for the Data Loss Prevention V2 Client class QuasiId.\n\nA column with a semantic tag attached.\n\nGenerated from protobuf message `google.privacy.dlp.v2.QuasiId`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dlp \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getField\n\nRequired. Identifies the column.\n\n### hasField\n\n### clearField\n\n### setField\n\nRequired. Identifies the column.\n\n### getInfoType\n\nA column can be tagged with a InfoType to use the relevant public\ndataset as a statistical model of population, if available. We\ncurrently support US ZIP codes, region codes, ages and genders.\n\nTo programmatically obtain the list of supported InfoTypes, use\nListInfoTypes with the supported_by=RISK_ANALYSIS filter.\n\n### hasInfoType\n\n### setInfoType\n\nA column can be tagged with a InfoType to use the relevant public\ndataset as a statistical model of population, if available. We\ncurrently support US ZIP codes, region codes, ages and genders.\n\nTo programmatically obtain the list of supported InfoTypes, use\nListInfoTypes with the supported_by=RISK_ANALYSIS filter.\n\n### getCustomTag\n\nA column can be tagged with a custom tag. In this case, the user must\nindicate an auxiliary table that contains statistical information on\nthe possible values of this column (below).\n\n### hasCustomTag\n\n### setCustomTag\n\nA column can be tagged with a custom tag. In this case, the user must\nindicate an auxiliary table that contains statistical information on\nthe possible values of this column (below).\n\n### getInferred\n\nIf no semantic tag is indicated, we infer the statistical model from\nthe distribution of values in the input data\n\n### hasInferred\n\n### setInferred\n\nIf no semantic tag is indicated, we infer the statistical model from\nthe distribution of values in the input data\n\n### getTag"]]