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\u003eThis webpage provides documentation for the \u003ccode\u003ePrivacyMetric.Types.KAnonymityConfig\u003c/code\u003e class within the Google Cloud Data Loss Prevention v2 API, focusing on its role in analyzing re-identification risk.\u003c/p\u003e\n"],["\u003cp\u003eThe content includes a comprehensive list of available versions for this class, ranging from the latest version 4.16.0 down to version 2.15.0, each linking to the respective documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eKAnonymityConfig\u003c/code\u003e class, used for k-anonymity metric calculations, inherits from the \u003ccode\u003eobject\u003c/code\u003e class and implements several interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eKAnonymityConfig\u003c/code\u003e class include \u003ccode\u003eEntityId\u003c/code\u003e, which manages row associations with individuals, and \u003ccode\u003eQuasiIds\u003c/code\u003e, which defines the fields used for computing k-anonymity over composite keys.\u003c/p\u003e\n"],["\u003cp\u003eThe page provides the documentation for the methods and constructors available for the class, allowing for instantiation using either a default constructor or one that allows a different \u003ccode\u003eKAnonymityConfig\u003c/code\u003e to be passed as a parameter.\u003c/p\u003e\n"]]],[],null,[]]