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 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"]],[["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-19 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eDocument.Types.EntityRelation\u003c/code\u003e class within the Google Cloud Document AI v1 API, covering versions from 1.0.0 to the latest 3.19.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDocument.Types.EntityRelation\u003c/code\u003e defines the relationship between entities in a document, and is implemented through the IMessage, IEquatable, IDeepCloneable, and IBufferMessage interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe class is found in the namespace \u003ccode\u003eGoogle.Cloud.DocumentAI.V1\u003c/code\u003e and assembly \u003ccode\u003eGoogle.Cloud.DocumentAI.V1.dll\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDocument.Types.EntityRelation\u003c/code\u003e class has three properties: \u003ccode\u003eObjectId\u003c/code\u003e, \u003ccode\u003eRelation\u003c/code\u003e, and \u003ccode\u003eSubjectId\u003c/code\u003e, all of which are string types and are used to identify the object, describe its relationship, and identify the subject, respectively.\u003c/p\u003e\n"],["\u003cp\u003eYou can construct a new \u003ccode\u003eEntityRelation\u003c/code\u003e either without any arguments or by providing another \u003ccode\u003eEntityRelation\u003c/code\u003e as a parameter to copy.\u003c/p\u003e\n"]]],[],null,[]]