Reference documentation and code samples for the Cloud Translation V3 Client class State.
State of the job.
Protobuf type google.cloud.translation.v3.BatchTranslateMetadata.State
Namespace
Google \ Cloud \ Translate \ V3 \ BatchTranslateMetadataMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
STATE_UNSPECIFIED
Value: 0
Invalid.
Generated from protobuf enum STATE_UNSPECIFIED = 0;
RUNNING
Value: 1
Request is being processed.
Generated from protobuf enum RUNNING = 1;
SUCCEEDED
Value: 2
The batch is processed, and at least one item was successfully processed.
Generated from protobuf enum SUCCEEDED = 2;
FAILED
Value: 3
The batch is done and no item was successfully processed.
Generated from protobuf enum FAILED = 3;
CANCELLING
Value: 4
Request is in the process of being canceled after caller invoked longrunning.Operations.CancelOperation on the request id.
Generated from protobuf enum CANCELLING = 4;
CANCELLED
Value: 5
The batch is done after the user has called the longrunning.Operations.CancelOperation. Any records processed before the cancel command are output as specified in the request.
Generated from protobuf enum CANCELLED = 5;