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-04-01 UTC."],[[["This page details the `EntityRelation` class within the `Google.Cloud.DocumentAI.V1` namespace, which represents the relationship between entities in the Document AI system."],["The latest version of `EntityRelation` is 3.19.0, and the page contains a list of all versions from 3.19.0 down to 1.0.0."],["The `EntityRelation` class implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage` for managing entity relations."],["The `EntityRelation` class has properties to define a relationship between entities via `SubjectId`, `ObjectId` and to provide a `Relation` description."],["The `EntityRelation` class can be constructed either by calling an empty constructor or by passing another instance of `EntityRelation`."]]],[]]