Reference documentation and code samples for the Data Loss Prevention V2 Client class AuxiliaryTable.
An auxiliary table contains statistical information on the relative frequency of different quasi-identifiers values. It has one or several quasi-identifiers columns, and one column that indicates the relative frequency of each quasi-identifier tuple.
If a tuple is present in the data but not in the auxiliary table, the corresponding relative frequency is assumed to be zero (and thus, the tuple is highly reidentifiable).
Generated from protobuf message google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable
Namespace
Google \ Cloud \ Dlp \ V2 \ PrivacyMetric \ KMapEstimationConfigMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ table |
Google\Cloud\Dlp\V2\BigQueryTable
Required. Auxiliary table location. |
↳ quasi_ids |
array<AuxiliaryTable\QuasiIdField>
Required. Quasi-identifier columns. |
↳ relative_frequency |
Google\Cloud\Dlp\V2\FieldId
Required. The relative frequency column must contain a floating-point number between 0 and 1 (inclusive). Null values are assumed to be zero. |
getTable
Required. Auxiliary table location.
Returns | |
---|---|
Type | Description |
Google\Cloud\Dlp\V2\BigQueryTable|null |
hasTable
clearTable
setTable
Required. Auxiliary table location.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dlp\V2\BigQueryTable
|
Returns | |
---|---|
Type | Description |
$this |
getQuasiIds
Required. Quasi-identifier columns.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setQuasiIds
Required. Quasi-identifier columns.
Parameter | |
---|---|
Name | Description |
var |
array<AuxiliaryTable\QuasiIdField>
|
Returns | |
---|---|
Type | Description |
$this |
getRelativeFrequency
Required. The relative frequency column must contain a floating-point number between 0 and 1 (inclusive). Null values are assumed to be zero.
Returns | |
---|---|
Type | Description |
Google\Cloud\Dlp\V2\FieldId|null |
hasRelativeFrequency
clearRelativeFrequency
setRelativeFrequency
Required. The relative frequency column must contain a floating-point number between 0 and 1 (inclusive). Null values are assumed to be zero.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dlp\V2\FieldId
|
Returns | |
---|---|
Type | Description |
$this |