Google Cloud Sql Admin V1 Client - Class State (1.17.0)

Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class State.

The state of the workload replay.

Protobuf type google.cloud.sql.v1.WorkloadReplayConfig.State

Namespace

Google \ Cloud \ Sql \ V1 \ WorkloadReplayConfig

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

STATE_UNSPECIFIED

Value: 0

Default value. This value is unused.

Generated from protobuf enum STATE_UNSPECIFIED = 0;

RUNNING

Value: 1

Workload replay is currently running.

Generated from protobuf enum RUNNING = 1;

COMPLETED

Value: 2

Workload replay completed successfully. Cloud SQL sets this state when all captured workload files finish replaying or when you explicitly stop the replay.

Generated from protobuf enum COMPLETED = 2;

FAILED

Value: 3

Workload replay failed.

Generated from protobuf enum FAILED = 3;

TERMINATED

Value: 4

Workload replay was terminated automatically. Cloud SQL sets this state when it automatically stops the replay because of a conflicting operation.

Generated from protobuf enum TERMINATED = 4;