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
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Cloud Translation V3 Client - Class State (2.0.3)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.3 (latest)](/php/docs/reference/cloud-translate/latest/V3.BatchTranslateMetadata.State)\n- [2.0.2](/php/docs/reference/cloud-translate/2.0.2/V3.BatchTranslateMetadata.State)\n- [1.21.0](/php/docs/reference/cloud-translate/1.21.0/V3.BatchTranslateMetadata.State)\n- [1.20.2](/php/docs/reference/cloud-translate/1.20.2/V3.BatchTranslateMetadata.State)\n- [1.19.0](/php/docs/reference/cloud-translate/1.19.0/V3.BatchTranslateMetadata.State)\n- [1.18.1](/php/docs/reference/cloud-translate/1.18.1/V3.BatchTranslateMetadata.State)\n- [1.17.7](/php/docs/reference/cloud-translate/1.17.7/V3.BatchTranslateMetadata.State)\n- [1.16.0](/php/docs/reference/cloud-translate/1.16.0/V3.BatchTranslateMetadata.State)\n- [1.15.4](/php/docs/reference/cloud-translate/1.15.4/V3.BatchTranslateMetadata.State)\n- [1.14.3](/php/docs/reference/cloud-translate/1.14.3/V3.BatchTranslateMetadata.State)\n- [1.13.3](/php/docs/reference/cloud-translate/1.13.3/V3.BatchTranslateMetadata.State)\n- [1.12.12](/php/docs/reference/cloud-translate/1.12.12/V3.BatchTranslateMetadata.State) \nReference documentation and code samples for the Cloud Translation V3 Client class State.\n\nState of the job.\n\nProtobuf type `google.cloud.translation.v3.BatchTranslateMetadata.State`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Translate \\\\ V3 \\\\ BatchTranslateMetadata\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### STATE_UNSPECIFIED\n\n Value: 0\n\nInvalid.\n\nGenerated from protobuf enum `STATE_UNSPECIFIED = 0;`\n\n### RUNNING\n\n Value: 1\n\nRequest is being processed.\n\nGenerated from protobuf enum `RUNNING = 1;`\n\n### SUCCEEDED\n\n Value: 2\n\nThe batch is processed, and at least one item was successfully\nprocessed.\n\nGenerated from protobuf enum `SUCCEEDED = 2;`\n\n### FAILED\n\n Value: 3\n\nThe batch is done and no item was successfully processed.\n\nGenerated from protobuf enum `FAILED = 3;`\n\n### CANCELLING\n\n Value: 4\n\nRequest is in the process of being canceled after caller invoked\nlongrunning.Operations.CancelOperation on the request id.\n\nGenerated from protobuf enum `CANCELLING = 4;`\n\n### CANCELLED\n\n Value: 5\n\nThe batch is done after the user has called the\nlongrunning.Operations.CancelOperation. Any records processed before the\ncancel command are output as specified in the request.\n\nGenerated from protobuf enum `CANCELLED = 5;`"]]