public sealed class EntityRelation : IMessage<Document.Types.EntityRelation>, IEquatable<Document.Types.EntityRelation>, IDeepCloneable<Document.Types.EntityRelation>, IBufferMessage, IMessage
Relationship between [Entities][google.cloud.documentai.v1.Document.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-19 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eEntityRelation\u003c/code\u003e class defines the relationship between entities within a document, as part of the \u003ccode\u003eGoogle.Cloud.DocumentAI.V1\u003c/code\u003e namespace, and is found in the Google.Cloud.DocumentAI.V1.dll assembly.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eObject\u003c/code\u003e and 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, indicating its role in handling document data within the system.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides two constructors: a default constructor \u003ccode\u003eEntityRelation()\u003c/code\u003e and a copy constructor \u003ccode\u003eEntityRelation(Document.Types.EntityRelation other)\u003c/code\u003e to create instances of the object.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eEntityRelation\u003c/code\u003e has three properties: \u003ccode\u003eObjectId\u003c/code\u003e which represents the object entity id, \u003ccode\u003eRelation\u003c/code\u003e which describes the relationship between entities, and \u003ccode\u003eSubjectId\u003c/code\u003e which represents the subject entity id, all of which are strings.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage lists the available versions of the EntityRelation class, with 3.19.0 being the latest, and spans from version 1.0.0 to 3.19.0.\u003c/p\u003e\n"]]],[],null,[]]