Data Loss Prevention V2 Client - Class LDiversityEquivalenceClass (1.10.2)

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

getEquivalenceClassSize

Size of the k-anonymity equivalence class.

Returns
TypeDescription
int|string

setEquivalenceClassSize

Size of the k-anonymity equivalence class.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getNumDistinctSensitiveValues

Number of distinct sensitive values in this equivalence class.

Returns
TypeDescription
int|string

setNumDistinctSensitiveValues

Number of distinct sensitive values in this equivalence class.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getTopSensitiveValues

Estimated frequencies of top sensitive values.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTopSensitiveValues

Estimated frequencies of top sensitive values.

Parameter
NameDescription
var array<Google\Cloud\Dlp\V2\ValueFrequency>
Returns
TypeDescription
$this