public sealed class Document.Types.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 v1beta3 API class Document.Types.EntityRelation.
Relationship between
[Entities][google.cloud.documentai.v1beta3.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-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eDocument.Types.EntityRelation\u003c/code\u003e class within the Google Cloud Document AI v1beta3 API, focusing on its structure and functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEntityRelation\u003c/code\u003e class, found in the \u003ccode\u003eGoogle.Cloud.DocumentAI.V1Beta3\u003c/code\u003e namespace, represents a relationship between entities and implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for \u003ccode\u003eEntityRelation\u003c/code\u003e, one that is parameterless, and one that allows you to pass another \u003ccode\u003eEntityRelation\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eEntityRelation\u003c/code\u003e class include \u003ccode\u003eObjectId\u003c/code\u003e, \u003ccode\u003eRelation\u003c/code\u003e, and \u003ccode\u003eSubjectId\u003c/code\u003e, each represented as a string and representing the object entity ID, a description of the relationship and the subject entity ID respectively.\u003c/p\u003e\n"],["\u003cp\u003eThis \u003ccode\u003eEntityRelation\u003c/code\u003e class has 3 available versions \u003ccode\u003e2.0.0-beta23\u003c/code\u003e, \u003ccode\u003e2.0.0-beta22\u003c/code\u003e, and \u003ccode\u003e1.0.0-beta04\u003c/code\u003e, with \u003ccode\u003e2.0.0-beta23\u003c/code\u003e being the most recent.\u003c/p\u003e\n"]]],[],null,[]]