public sealed class PrivacyMetric.Types.KAnonymityConfig : IMessage<PrivacyMetric.Types.KAnonymityConfig>, IEquatable<PrivacyMetric.Types.KAnonymityConfig>, IDeepCloneable<PrivacyMetric.Types.KAnonymityConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class PrivacyMetric.Types.KAnonymityConfig.
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\u003eThe page provides documentation for the \u003ccode\u003ePrivacyMetric.Types.KAnonymityConfig\u003c/code\u003e class within the Google Cloud Data Loss Prevention v2 API, which is used for assessing re-identification risk through k-anonymity metrics.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eKAnonymityConfig\u003c/code\u003e class can be found in the \u003ccode\u003eGoogle.Cloud.Dlp.V2\u003c/code\u003e namespace within the \u003ccode\u003eGoogle.Cloud.Dlp.V2.dll\u003c/code\u003e assembly, and has multiple implementations such as \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 most recent version of the \u003ccode\u003eKAnonymityConfig\u003c/code\u003e documentation is version 4.16.0, however there are older versions ranging from 2.15.0 to 4.15.0 also accessible.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eEntityId\u003c/code\u003e, which identifies rows potentially linked to the same individual, and \u003ccode\u003eQuasiIds\u003c/code\u003e, which defines the set of fields utilized in the k-anonymity computation.\u003c/p\u003e\n"],["\u003cp\u003eIt also has two constructor methods, the first one being parameterless, and the second taking in another \u003ccode\u003eKAnonymityConfig\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]