Cloud Translation V3 Client - Class State (1.20.0)

Reference documentation and code samples for the Cloud Translation V3 Client class State.

Enumerates the possible states that the creation request can be in.

Protobuf type google.cloud.translation.v3.CreateGlossaryMetadata.State

Namespace

Google \ Cloud \ Translate \ V3 \ CreateGlossaryMetadata

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 glossary was successfully created.

Generated from protobuf enum SUCCEEDED = 2;

FAILED

Value: 3

Failed to create the glossary.

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 glossary creation request was successfully canceled.

Generated from protobuf enum CANCELLED = 5;