Google Cloud BigQuery Migration V2 Client - Class State (1.1.1)

Reference documentation and code samples for the Google Cloud BigQuery Migration V2 Client class State.

Possible states of a migration subtask.

Protobuf type google.cloud.bigquery.migration.v2.MigrationSubtask.State

Namespace

Google \ Cloud \ BigQuery \ Migration \ V2 \ MigrationSubtask

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

STATE_UNSPECIFIED

Value: 0

The state is unspecified.

Generated from protobuf enum STATE_UNSPECIFIED = 0;

ACTIVE

Value: 1

The subtask is ready, i.e. it is ready for execution.

Generated from protobuf enum ACTIVE = 1;

RUNNING

Value: 2

The subtask is running, i.e. it is assigned to a worker for execution.

Generated from protobuf enum RUNNING = 2;

SUCCEEDED

Value: 3

The subtask finished successfully.

Generated from protobuf enum SUCCEEDED = 3;

FAILED

Value: 4

The subtask finished unsuccessfully.

Generated from protobuf enum FAILED = 4;

PAUSED

Value: 5

The subtask is paused, i.e., it will not be scheduled. If it was already assigned,it might still finish but no new lease renewals will be granted.

Generated from protobuf enum PAUSED = 5;

PENDING_DEPENDENCY

Value: 6

The subtask is pending a dependency. It will be scheduled once its dependencies are done.

Generated from protobuf enum PENDING_DEPENDENCY = 6;