Google Cloud Document Ai V1 Client - Class OperationType (2.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

Namespace

Google \ Cloud \ DocumentAI \ V1 \ Document \ Provenance

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
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;

UPDATE

Value: 7

Updates any fields within the given provenance scope of the message. It overwrites the fields rather than replacing them. Use this when you want to update a field value of an entity without also updating all the child properties.

Generated from protobuf enum UPDATE = 7;

REPLACE

Value: 3

Currently unused. Replace an element identified by parent.

Generated from protobuf enum REPLACE = 3;

EVAL_REQUESTED

Value: 4

Deprecated. Request human review for the element identified by parent.

Generated from protobuf enum EVAL_REQUESTED = 4 [deprecated = true];

EVAL_APPROVED

Value: 5

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

Generated from protobuf enum EVAL_APPROVED = 5 [deprecated = true];

EVAL_SKIPPED

Value: 6

Deprecated. Element is skipped in the validation process.

Generated from protobuf enum EVAL_SKIPPED = 6 [deprecated = true];