Cloud Translation V3 API - Module Google::Cloud::Translate::V3::OperationState (v1.2.0)

Reference documentation and code samples for the Cloud Translation V3 API module Google::Cloud::Translate::V3::OperationState.

Possible states of long running operations.

Constants

OPERATION_STATE_UNSPECIFIED

value: 0
Invalid.

OPERATION_STATE_RUNNING

value: 1
Request is being processed.

OPERATION_STATE_SUCCEEDED

value: 2
The operation was successful.

OPERATION_STATE_FAILED

value: 3
Failed to process operation.

OPERATION_STATE_CANCELLING

value: 4
Request is in the process of being canceled after caller invoked longrunning.Operations.CancelOperation on the request id.

OPERATION_STATE_CANCELLED

value: 5
The operation request was successfully canceled.