Cloud Translation V3 Client - Class OperationState (2.0.3)

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 \ V3

Methods

static::name

Parameter
Name
Description
value
mixed

static::value

Parameter
Name
Description
name
mixed

Constants

OPERATION_STATE_UNSPECIFIED

  Value: 0 
 

Invalid.

Generated from protobuf enum OPERATION_STATE_UNSPECIFIED = 0;

OPERATION_STATE_RUNNING

  Value: 1 
 

Request is being processed.

Generated from protobuf enum OPERATION_STATE_RUNNING = 1;

OPERATION_STATE_SUCCEEDED

  Value: 2 
 

The operation was successful.

Generated from protobuf enum OPERATION_STATE_SUCCEEDED = 2;

OPERATION_STATE_FAILED

  Value: 3 
 

Failed to process operation.

Generated from protobuf enum OPERATION_STATE_FAILED = 3;

OPERATION_STATE_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 OPERATION_STATE_CANCELLING = 4;

OPERATION_STATE_CANCELLED

  Value: 5 
 

The operation request was successfully canceled.

Generated from protobuf enum OPERATION_STATE_CANCELLED = 5;

Design a Mobile Site
View Site in Mobile | Classic
Share by: