Reference documentation and code samples for the Data Loss Prevention V2 Client class QuasiId.
A column with a semantic tag attached.
Generated from protobuf message google.privacy.dlp.v2.QuasiId
Namespace
Google \ Cloud \ Dlp \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ field |
FieldId
Required. Identifies the column. |
↳ info_type |
InfoType
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). |
↳ inferred |
Google\Protobuf\GPBEmpty
If no semantic tag is indicated, we infer the statistical model from the distribution of values in the input data |
getField
Required. Identifies the column.
Returns | |
---|---|
Type | Description |
FieldId|null |
hasField
clearField
setField
Required. Identifies the column.
Parameter | |
---|---|
Name | Description |
var |
FieldId
|
Returns | |
---|---|
Type | Description |
$this |
getInfoType
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.
Returns | |
---|---|
Type | Description |
InfoType|null |
hasInfoType
setInfoType
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.
Parameter | |
---|---|
Name | Description |
var |
InfoType
|
Returns | |
---|---|
Type | Description |
$this |
getCustomTag
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
Returns | |
---|---|
Type | Description |
Google\Protobuf\GPBEmpty|null |
hasInferred
setInferred
If no semantic tag is indicated, we infer the statistical model from the distribution of values in the input data
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\GPBEmpty
|
Returns | |
---|---|
Type | Description |
$this |
getTag
Returns | |
---|---|
Type | Description |
string |