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

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

State of the workload capture.

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

Namespace

Google \ Cloud \ Sql \ V1 \ WorkloadCapture

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 capture is currently running.

Generated from protobuf enum RUNNING = 1;

COMPLETED

Value: 2

Workload capture completed successfully. This state is set when the user explicitly stops the capture.

Generated from protobuf enum COMPLETED = 2;

FAILED

Value: 3

Workload capture failed.

Generated from protobuf enum FAILED = 3;

TERMINATED

Value: 4

Workload capture was terminated automatically. This state is set when Cloud SQL automatically stops the capture due to a conflicting operation or when the maximum duration is reached.

Generated from protobuf enum TERMINATED = 4;