Reference documentation and code samples for the Google Cloud Document Ai V1 Client class EntitiesRevision.
Entity revision.
Generated from protobuf message google.cloud.documentai.v1.Document.EntitiesRevision
Namespace
Google \ Cloud \ DocumentAI \ V1 \ DocumentMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ revision_id |
string
The revision id. |
↳ entities |
array<Entity>
The entities in this revision. |
↳ entity_validation_output |
EntityValidationOutput
The entity validation output for this revision. |
getRevisionId
The revision id.
| Returns | |
|---|---|
| Type | Description |
string |
|
setRevisionId
The revision id.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEntities
The entities in this revision.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setEntities
The entities in this revision.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Entity>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEntityValidationOutput
The entity validation output for this revision.
| Returns | |
|---|---|
| Type | Description |
EntityValidationOutput|null |
|
hasEntityValidationOutput
clearEntityValidationOutput
setEntityValidationOutput
The entity validation output for this revision.
| Parameter | |
|---|---|
| Name | Description |
var |
EntityValidationOutput
|
| Returns | |
|---|---|
| Type | Description |
$this |
|