Google Cloud Document Ai V1 Client - Class EntityRelation (2.3.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Document Ai V1 Client class EntityRelation.
Relationship between
Entities.
Generated from protobuf message google.cloud.documentai.v1.Document.EntityRelation
Namespace
Google \ Cloud \ DocumentAI \ V1 \ Document
Methods
__construct
Parameters |
Name |
Description |
data |
array
Optional. Data for populating the Message object.
|
↳ subject_id |
string
Subject entity id.
|
↳ object_id |
string
Object entity id.
|
↳ relation |
string
Relationship description.
|
getSubjectId
Returns |
Type |
Description |
string |
|
setSubjectId
Parameter |
Name |
Description |
var |
string
|
Returns |
Type |
Description |
$this |
|
getObjectId
Returns |
Type |
Description |
string |
|
setObjectId
Parameter |
Name |
Description |
var |
string
|
Returns |
Type |
Description |
$this |
|
getRelation
Relationship description.
Returns |
Type |
Description |
string |
|
setRelation
Relationship description.
Parameter |
Name |
Description |
var |
string
|
Returns |
Type |
Description |
$this |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
[[["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-09-04 UTC."],[],[],null,["# Google Cloud Document Ai V1 Client - Class EntityRelation (2.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.0 (latest)](/php/docs/reference/cloud-document-ai/latest/V1.Document.EntityRelation)\n- [2.2.2](/php/docs/reference/cloud-document-ai/2.2.2/V1.Document.EntityRelation)\n- [2.1.3](/php/docs/reference/cloud-document-ai/2.1.3/V1.Document.EntityRelation)\n- [2.0.0](/php/docs/reference/cloud-document-ai/2.0.0/V1.Document.EntityRelation)\n- [1.14.0](/php/docs/reference/cloud-document-ai/1.14.0/V1.Document.EntityRelation)\n- [1.13.1](/php/docs/reference/cloud-document-ai/1.13.1/V1.Document.EntityRelation)\n- [1.12.2](/php/docs/reference/cloud-document-ai/1.12.2/V1.Document.EntityRelation)\n- [1.9.0](/php/docs/reference/cloud-document-ai/1.9.0/V1.Document.EntityRelation)\n- [1.8.2](/php/docs/reference/cloud-document-ai/1.8.2/V1.Document.EntityRelation)\n- [1.7.0](/php/docs/reference/cloud-document-ai/1.7.0/V1.Document.EntityRelation)\n- [1.6.0](/php/docs/reference/cloud-document-ai/1.6.0/V1.Document.EntityRelation)\n- [1.5.0](/php/docs/reference/cloud-document-ai/1.5.0/V1.Document.EntityRelation)\n- [1.4.0](/php/docs/reference/cloud-document-ai/1.4.0/V1.Document.EntityRelation)\n- [1.3.0](/php/docs/reference/cloud-document-ai/1.3.0/V1.Document.EntityRelation)\n- [1.2.2](/php/docs/reference/cloud-document-ai/1.2.2/V1.Document.EntityRelation)\n- [1.1.1](/php/docs/reference/cloud-document-ai/1.1.1/V1.Document.EntityRelation)\n- [1.0.1](/php/docs/reference/cloud-document-ai/1.0.1/V1.Document.EntityRelation) \nReference documentation and code samples for the Google Cloud Document Ai V1 Client class EntityRelation.\n\nRelationship between\n[Entities](/php/docs/reference/cloud-document-ai/latest/V1.Document.Entity).\n\nGenerated from protobuf message `google.cloud.documentai.v1.Document.EntityRelation`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ DocumentAI \\\\ V1 \\\\ Document\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getSubjectId\n\nSubject entity id.\n\n### setSubjectId\n\nSubject entity id.\n\n### getObjectId\n\nObject entity id.\n\n### setObjectId\n\nObject entity id.\n\n### getRelation\n\nRelationship description.\n\n### setRelation\n\nRelationship description."]]