Google Cloud Document Ai V1 Client - Class State (2.0.0)

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

Possible states of the batch processing operation.

Protobuf type google.cloud.documentai.v1.BatchProcessMetadata.State

Namespace

Google \ Cloud \ DocumentAI \ V1 \ BatchProcessMetadata

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

STATE_UNSPECIFIED

Value: 0

The default value. This value is used if the state is omitted.

Generated from protobuf enum STATE_UNSPECIFIED = 0;

WAITING

Value: 1

Request operation is waiting for scheduling.

Generated from protobuf enum WAITING = 1;

RUNNING

Value: 2

Request is being processed.

Generated from protobuf enum RUNNING = 2;

SUCCEEDED

Value: 3

The batch processing completed successfully.

Generated from protobuf enum SUCCEEDED = 3;

CANCELLING

Value: 4

The batch processing was being cancelled.

Generated from protobuf enum CANCELLING = 4;

CANCELLED

Value: 5

The batch processing was cancelled.

Generated from protobuf enum CANCELLED = 5;

FAILED

Value: 6

The batch processing has failed.

Generated from protobuf enum FAILED = 6;