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."],[[["The `EntityRelation` class defines the relationship between entities within a document, as part of the `Google.Cloud.DocumentAI.V1` namespace, and is found in the Google.Cloud.DocumentAI.V1.dll assembly."],["This class inherits from `Object` and implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, indicating its role in handling document data within the system."],["The class provides two constructors: a default constructor `EntityRelation()` and a copy constructor `EntityRelation(Document.Types.EntityRelation other)` to create instances of the object."],["`EntityRelation` has three properties: `ObjectId` which represents the object entity id, `Relation` which describes the relationship between entities, and `SubjectId` which represents the subject entity id, all of which are strings."],["The 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."]]],[]]