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 \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ table |
BigQueryTable
Required. Auxiliary table location. |
↳ quasi_ids |
array<StatisticalTable\QuasiIdentifierField>
Required. Quasi-identifier columns. |
↳ relative_frequency |
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 |
BigQueryTable|null |
hasTable
clearTable
setTable
Required. Auxiliary table location.
Parameter | |
---|---|
Name | Description |
var |
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<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 |
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 |
FieldId
|
Returns | |
---|---|
Type | Description |
$this |