Data Loss Prevention V2 Client - Class LDiversityConfig (1.11.0)

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

l-diversity metric, used for analysis of reidentification risk.

Generated from protobuf message google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig

Namespace

Google \ Cloud \ Dlp \ V2 \ PrivacyMetric

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ quasi_ids
array< Google\Cloud\Dlp\V2\FieldId >

Set of quasi-identifiers indicating how equivalence classes are defined for the l-diversity computation. When multiple fields are specified, they are considered a single composite key.

↳ sensitive_attribute
Google\Cloud\Dlp\V2\FieldId

Sensitive field for computing the l-value.

getQuasiIds

Set of quasi-identifiers indicating how equivalence classes are defined for the l-diversity computation. When multiple fields are specified, they are considered a single composite key.

Returns
Type
Description

setQuasiIds

Set of quasi-identifiers indicating how equivalence classes are defined for the l-diversity computation. When multiple fields are specified, they are considered a single composite key.

Parameter
Name
Description
Returns
Type
Description
$this

getSensitiveAttribute

Sensitive field for computing the l-value.

Returns
Type
Description

hasSensitiveAttribute

clearSensitiveAttribute

setSensitiveAttribute

Sensitive field for computing the l-value.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: