Reference documentation and code samples for the Google Cloud Document Ai V1 Client class Provenance.
Structure to identify provenance relationships between annotations in different revisions.
Generated from protobuf message google.cloud.documentai.v1.Document.Provenance
Namespace
Google \ Cloud \ DocumentAI \ V1 \ DocumentMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ revision
int
The index of the revision that produced this element.
↳ id
int
The Id of this operation. Needs to be unique within the scope of the revision.
↳ parents
↳ type
int
The type of provenance operation.
getRevision
The index of the revision that produced this element.
int
setRevision
The index of the revision that produced this element.
var
int
$this
getId
The Id of this operation. Needs to be unique within the scope of the revision.
int
setId
The Id of this operation. Needs to be unique within the scope of the revision.
var
int
$this
getParents
References to the original elements that are replaced.
setParents
References to the original elements that are replaced.
$this
getType
The type of provenance operation.
int
setType
The type of provenance operation.
var
int
$this