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 \ PrivacyMetricMethods
__construct
Constructor.
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
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.
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.
$this
getSensitiveAttribute
Sensitive field for computing the l-value.
hasSensitiveAttribute
clearSensitiveAttribute
setSensitiveAttribute
Sensitive field for computing the l-value.
$this