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\u003eThis webpage details the \u003ccode\u003eEntityRelation\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.DocumentAI.V1\u003c/code\u003e namespace, which represents the relationship between entities in the Document AI service.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eEntityRelation\u003c/code\u003e class is 3.19.0, and the page provides links to documentation for various previous versions, dating back to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEntityRelation\u003c/code\u003e class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, facilitating its use in various contexts.\u003c/p\u003e\n"],["\u003cp\u003eThe class has three key properties: \u003ccode\u003eObjectId\u003c/code\u003e, \u003ccode\u003eRelation\u003c/code\u003e, and \u003ccode\u003eSubjectId\u003c/code\u003e, which define the entity ID, the description of the relationship, and the subject entity ID, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for the \u003ccode\u003eEntityRelation\u003c/code\u003e class, one for default instantiation and another for creating an \u003ccode\u003eEntityRelation\u003c/code\u003e from an existing \u003ccode\u003eDocument.Types.EntityRelation\u003c/code\u003e instance.\u003c/p\u003e\n"]]],[],null,[]]