Data Loss Prevention V2 Client - Class StatisticalTable (1.10.2)

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
NameDescription
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
TypeDescription
Google\Cloud\Dlp\V2\BigQueryTable|null

hasTable

clearTable

setTable

Required. Auxiliary table location.

Parameter
NameDescription
var Google\Cloud\Dlp\V2\BigQueryTable
Returns
TypeDescription
$this

getQuasiIds

Required. Quasi-identifier columns.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setQuasiIds

Required. Quasi-identifier columns.

Parameter
NameDescription
var array<Google\Cloud\Dlp\V2\StatisticalTable\QuasiIdentifierField>
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var Google\Cloud\Dlp\V2\FieldId
Returns
TypeDescription
$this