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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage details the `EntityRelation` class within the `Google.Cloud.DocumentAI.V1` namespace, which represents the relationship between entities in the Document AI service."],["The latest version of the `EntityRelation` class is 3.19.0, and the page provides links to documentation for various previous versions, dating back to version 1.0.0."],["The `EntityRelation` class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, facilitating its use in various contexts."],["The class has three key properties: `ObjectId`, `Relation`, and `SubjectId`, which define the entity ID, the description of the relationship, and the subject entity ID, respectively."],["There are two constructors available for the `EntityRelation` class, one for default instantiation and another for creating an `EntityRelation` from an existing `Document.Types.EntityRelation` instance."]]],[]]