# Policy Simulator V1 API - Module Google::Cloud::PolicySimulator::V1::Replay::State (v1.9.0)

1.9.0 (latest) 1.8.1 1.7.0 1.6.1 1.5.0 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.4.0 0.3.2 0.2.0 0.1.1 Reference documentation and code samples for the Policy Simulator V1 API module Google::Cloud::PolicySimulator::V1::Replay::State.

The current state of the [Replay](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-policy_simulator-v1/latest/Google-Cloud-PolicySimulator-V1-Replay "Google::Cloud::PolicySimulator::V1::Replay (class)").

## Constants

### STATE_UNSPECIFIED

**value:** 0  
Default value. This value is unused.

### PENDING

**value:** 1  
The `Replay` has not started yet.

### RUNNING

**value:** 2  
The `Replay` is currently running.

### SUCCEEDED

**value:** 3  
The `Replay` has successfully completed.

### FAILED

**value:** 4  
The `Replay` has finished with an error.