public sealed class LDiversityConfig : IMessage<PrivacyMetric.Types.LDiversityConfig>, IEquatable<PrivacyMetric.Types.LDiversityConfig>, IDeepCloneable<PrivacyMetric.Types.LDiversityConfig>, IBufferMessage, IMessage
l-diversity metric, used for analysis of reidentification risk.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page details the \u003ccode\u003eLDiversityConfig\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Dlp.V2\u003c/code\u003e namespace, which is a key component for calculating l-diversity, a privacy metric used in re-identification risk analysis.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLDiversityConfig\u003c/code\u003e class, implemented from several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e and \u003ccode\u003eIEquatable\u003c/code\u003e, defines how equivalence classes are established and the l-value is computed through its \u003ccode\u003eQuasiIds\u003c/code\u003e and \u003ccode\u003eSensitiveAttribute\u003c/code\u003e properties.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLDiversityConfig\u003c/code\u003e class is available across multiple versions, ranging from 2.15.0 to the latest version 4.16.0, including the specific version 3.3.0 which this content focuses on.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two constructors for creating \u003ccode\u003eLDiversityConfig\u003c/code\u003e objects, one default and another that accepts another \u003ccode\u003eLDiversityConfig\u003c/code\u003e instance as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThis document highlights the inherited members from the base \u003ccode\u003eSystem.Object\u003c/code\u003e, such as \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, \u003ccode\u003eMemberwiseClone\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]