Data Loss Prevention V2 Client - Class StatisticalTable (2.2.0)

Reference documentation and code samples for the Data Loss Prevention V2 Client class StatisticalTable.

An auxiliary table containing 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.StatisticalTable

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__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<Google\Cloud\Dlp\V2\StatisticalTable\QuasiIdentifierField>

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<Google\Cloud\Dlp\V2\StatisticalTable\QuasiIdentifierField>
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