Cloud Translation V3 Client - Class State (2.0.3)

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

Methods

Parameter
Name
Description
value
mixed
Parameter
Name
Description
name
mixed

Constants

  Value: 0 
 

Invalid.

Generated from protobuf enum STATE_UNSPECIFIED = 0;

  Value: 1 
 

Request is being processed.

Generated from protobuf enum RUNNING = 1;

  Value: 2 
 

The batch is processed, and at least one item was successfully processed.

Generated from protobuf enum SUCCEEDED = 2;

  Value: 3 
 

The batch is done and no item was successfully processed.

Generated from protobuf enum FAILED = 3;

  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;

  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;

Create a Mobile Website
View Site in Mobile | Classic
Share by: