Data Loss Prevention V2 Client - Class LDiversityEquivalenceClass (2.2.1)

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

The set of columns' values that share the same ldiversity value.

Generated from protobuf message google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass

Namespace

Google \ Cloud \ Dlp \ V2 \ AnalyzeDataSourceRiskDetails \ LDiversityResult

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ quasi_ids_values array<Google\Cloud\Dlp\V2\Value>

Quasi-identifier values defining the k-anonymity equivalence class. The order is always the same as the original request.

↳ equivalence_class_size int|string

Size of the k-anonymity equivalence class.

↳ num_distinct_sensitive_values int|string

Number of distinct sensitive values in this equivalence class.

↳ top_sensitive_values array<Google\Cloud\Dlp\V2\ValueFrequency>

Estimated frequencies of top sensitive values.

getQuasiIdsValues

Quasi-identifier values defining the k-anonymity equivalence class. The order is always the same as the original request.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setQuasiIdsValues

Quasi-identifier values defining the k-anonymity equivalence class. The order is always the same as the original request.

Parameter
Name Description
var array<Google\Cloud\Dlp\V2\Value>
Returns
Type Description
$this

getEquivalenceClassSize

Size of the k-anonymity equivalence class.

Returns
Type Description
int|string

setEquivalenceClassSize

Size of the k-anonymity equivalence class.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getNumDistinctSensitiveValues

Number of distinct sensitive values in this equivalence class.

Returns
Type Description
int|string

setNumDistinctSensitiveValues

Number of distinct sensitive values in this equivalence class.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getTopSensitiveValues

Estimated frequencies of top sensitive values.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setTopSensitiveValues

Estimated frequencies of top sensitive values.

Parameter
Name Description
var array<Google\Cloud\Dlp\V2\ValueFrequency>
Returns
Type Description
$this