public sealed class KAnonymityConfig : IMessage<PrivacyMetric.Types.KAnonymityConfig>, IEquatable<PrivacyMetric.Types.KAnonymityConfig>, IDeepCloneable<PrivacyMetric.Types.KAnonymityConfig>, IBufferMessage, IMessage
k-anonymity metric, used for analysis of reidentification risk.
Message indicating that multiple rows might be associated to a
single individual. If the same entity_id is associated to multiple
quasi-identifier tuples over distinct rows, we consider the entire
collection of tuples as the composite quasi-identifier. This collection
is a multiset: the order in which the different tuples appear in the
dataset is ignored, but their frequency is taken into account.
Important note: a maximum of 1000 rows can be associated to a single
entity ID. If more rows are associated with the same entity ID, some
might be ignored.
Set of fields to compute k-anonymity over. When multiple fields are
specified, they are considered a single composite key. Structs and
repeated data types are not supported; however, nested fields are
supported so long as they are not structs themselves or nested within
a repeated field.
[[["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\u003eKAnonymityConfig\u003c/code\u003e class, which is a part of the \u003ccode\u003eGoogle.Cloud.Dlp.V2\u003c/code\u003e namespace, and is specifically used for performing k-anonymity metric analysis on data.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eKAnonymityConfig\u003c/code\u003e class is available in multiple versions, from version 2.15.0 up to the latest version, 4.16.0, and can be implemented via several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eEntityId\u003c/code\u003e, used to associate multiple rows to a single individual, and \u003ccode\u003eQuasiIds\u003c/code\u003e, representing a set of fields to compute k-anonymity over, in the form of a composite key.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eKAnonymityConfig\u003c/code\u003e class offers two constructors: a default constructor \u003ccode\u003eKAnonymityConfig()\u003c/code\u003e and another that accepts an existing \u003ccode\u003ePrivacyMetric.Types.KAnonymityConfig\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits methods from the Object class 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,[]]