Reference documentation and code samples for the Cloud Translation V3 Client class OperationState.
Possible states of long running operations.
Protobuf type google.cloud.translation.v3.OperationState
Namespace
Google \ Cloud \ Translate \ V3Methods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
OPERATION_STATE_UNSPECIFIED
Value: 0Invalid.
Generated from protobuf enum OPERATION_STATE_UNSPECIFIED = 0;
OPERATION_STATE_RUNNING
Value: 1Request is being processed.
Generated from protobuf enum OPERATION_STATE_RUNNING = 1;
OPERATION_STATE_SUCCEEDED
Value: 2The operation was successful.
Generated from protobuf enum OPERATION_STATE_SUCCEEDED = 2;
OPERATION_STATE_FAILED
Value: 3Failed to process operation.
Generated from protobuf enum OPERATION_STATE_FAILED = 3;
OPERATION_STATE_CANCELLING
Value: 4Request is in the process of being canceled after caller invoked longrunning.Operations.CancelOperation on the request id.
Generated from protobuf enum OPERATION_STATE_CANCELLING = 4;
OPERATION_STATE_CANCELLED
Value: 5The operation request was successfully canceled.
Generated from protobuf enum OPERATION_STATE_CANCELLED = 5;