public sealed class EntityRelation : IMessage<Document.Types.EntityRelation>, IEquatable<Document.Types.EntityRelation>, IDeepCloneable<Document.Types.EntityRelation>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Document AI v1 API class Document.Types.EntityRelation.
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 page provides documentation for the `Document.Types.EntityRelation` class within the Google Cloud Document AI v1 API, covering versions from 1.0.0 to the latest 3.19.0."],["The `EntityRelation` class represents the relationship between entities within a document, as part of the Google Cloud Document AI service."],["This class inherits from the base `Object` class and implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["`EntityRelation` has three key properties: `ObjectId`, `Relation`, and `SubjectId`, which are all string types that respectively represent the object's ID, relationship description, and the subject's ID."],["Two constructors are available for creating an `EntityRelation` object: a default constructor and one that takes another `EntityRelation` object as an argument for initialization."]]],[]]