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 \ WorkloadCaptureMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
STATE_UNSPECIFIED
Value: 0Default value. This value is unused.
Generated from protobuf enum STATE_UNSPECIFIED = 0;
RUNNING
Value: 1Workload capture is currently running.
Generated from protobuf enum RUNNING = 1;
COMPLETED
Value: 2Workload capture completed successfully. This state is set when the user explicitly stops the capture.
Generated from protobuf enum COMPLETED = 2;
FAILED
Value: 3Workload capture failed.
Generated from protobuf enum FAILED = 3;
TERMINATED
Value: 4Workload 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;