Google Cloud Document Ai V1 Client - Class OperationType (1.1.1)

Reference documentation and code samples for the Google Cloud Document Ai V1 Client class OperationType.

If a processor or agent does an explicit operation on existing elements.

Protobuf type google.cloud.documentai.v1.Document.Provenance.OperationType

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
name mixed

Constants

OPERATION_TYPE_UNSPECIFIED

Value: 0

Operation type unspecified. If no operation is specified a provenance entry is simply used to match against a parent.

Generated from protobuf enum OPERATION_TYPE_UNSPECIFIED = 0;

ADD

Value: 1

Add an element.

Generated from protobuf enum ADD = 1;

REMOVE

Value: 2

Remove an element identified by parent.

Generated from protobuf enum REMOVE = 2;

REPLACE

Value: 3

Replace an element identified by parent.

Generated from protobuf enum REPLACE = 3;

EVAL_REQUESTED

Value: 4

Request human review for the element identified by parent.

Generated from protobuf enum EVAL_REQUESTED = 4;

EVAL_APPROVED

Value: 5

Element is reviewed and approved at human review, confidence will be set to 1.0.

Generated from protobuf enum EVAL_APPROVED = 5;

EVAL_SKIPPED

Value: 6

Element is skipped in the validation process.

Generated from protobuf enum EVAL_SKIPPED = 6;