Reference documentation and code samples for the Google Cloud Document Ai V1 Client class State.
State of the longrunning operation.
Protobuf type google.cloud.documentai.v1.CommonOperationMetadata.State
Namespace
Google \ Cloud \ DocumentAI \ V1 \ CommonOperationMetadataMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
STATE_UNSPECIFIED
Value: 0Unspecified state.
Generated from protobuf enum STATE_UNSPECIFIED = 0;
RUNNING
Value: 1Operation is still running.
Generated from protobuf enum RUNNING = 1;
CANCELLING
Value: 2Operation is being cancelled.
Generated from protobuf enum CANCELLING = 2;
SUCCEEDED
Value: 3Operation succeeded.
Generated from protobuf enum SUCCEEDED = 3;
FAILED
Value: 4Operation failed.
Generated from protobuf enum FAILED = 4;
CANCELLED
Value: 5Operation is cancelled.
Generated from protobuf enum CANCELLED = 5;