# Datastream V1alpha1 API - Module Google::Cloud::Datastream::V1alpha1::Stream::State (v0.14.0)

0.14.0 (latest) 0.13.1 0.12.0 0.11.1 0.10.1 0.9.0 0.8.0 0.7.1 0.6.2 0.5.0 0.4.0 0.3.0 0.2.0 0.1.2 Reference documentation and code samples for the Datastream V1alpha1 API module Google::Cloud::Datastream::V1alpha1::Stream::State.

Stream state.

## Constants

### STATE_UNSPECIFIED

**value:** 0  
Unspecified stream state.

### CREATED

**value:** 1  
The stream has been created.

### RUNNING

**value:** 2  
The stream is running.

### PAUSED

**value:** 3  
The stream is paused.

### MAINTENANCE

**value:** 4  
The stream is in maintenance mode.


<br />

Updates are rejected on the resource in this state.

### FAILED

**value:** 5  
The stream is experiencing an error that is preventing data from being
streamed.

### FAILED_PERMANENTLY

**value:** 6  
The stream has experienced a terminal failure.

### STARTING

**value:** 7  
The stream is starting, but not yet running.

### DRAINING

**value:** 8  
The Stream is no longer reading new events, but still writing events in
the buffer.