public sealed class EntityId : IMessage<EntityId>, IEquatable<EntityId>, IDeepCloneable<EntityId>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class EntityId.
An entity in a dataset is a field or set of fields that correspond to a
single person. For example, in medical records the EntityId might be a
patient identifier, or for financial records it might be an account
identifier. This message is used when generalizations or analysis must take
into account that multiple rows correspond to the same entity.
[[["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 latest version available for the Google Cloud Data Loss Prevention v2 API class EntityId is 4.16.0, with multiple older versions also available for reference.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEntityId\u003c/code\u003e class in the Google Cloud Data Loss Prevention v2 API represents an entity within a dataset, such as a patient identifier in medical records or an account identifier in financial records.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eEntityId\u003c/code\u003e implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<EntityId>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<EntityId>\u003c/code\u003e, \u003ccode\u003eIBufferMessage\u003c/code\u003e, and \u003ccode\u003eIMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEntityId\u003c/code\u003e class includes a property called \u003ccode\u003eField\u003c/code\u003e, which is a composite key, of the type \u003ccode\u003eFieldId\u003c/code\u003e and it is used to identify the field containing the entity identifier.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eEntityId\u003c/code\u003e contains two constructors, one default and another allowing it to be constructed using another \u003ccode\u003eEntityId\u003c/code\u003e as a parameter.\u003c/p\u003e\n"]]],[],null,[]]