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 page provides reference documentation for the \u003ccode\u003ePrivacyMetric.Types.KAnonymityConfig\u003c/code\u003e class within the Google Cloud Data Loss Prevention (DLP) v2 API, specifically for versions ranging from 2.15.0 to 4.16.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eKAnonymityConfig\u003c/code\u003e is used for analyzing re-identification risk through k-anonymity, which considers a set of fields as a single composite key for multiple data points, and it includes links to different versions of the API documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and it inherits from \u003ccode\u003eobject\u003c/code\u003e, providing functionality like \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties like \u003ccode\u003eEntityId\u003c/code\u003e, which helps associate multiple rows with a single individual, and \u003ccode\u003eQuasiIds\u003c/code\u003e, a collection of \u003ccode\u003eFieldId\u003c/code\u003e objects over which k-anonymity is calculated.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation also lists the constructors for the \u003ccode\u003eKAnonymityConfig\u003c/code\u003e class, which includes a default constructor and one that accepts another \u003ccode\u003eKAnonymityConfig\u003c/code\u003e instance.\u003c/p\u003e\n"]]],[],null,[]]