# Cloud Dataproc V1beta2 API - Module Google::Cloud::Dataproc::V1beta2::ListJobsRequest::JobStateMatcher (v0.6.3)

Reference documentation and code samples for the Cloud Dataproc V1beta2 API module Google::Cloud::Dataproc::V1beta2::ListJobsRequest::JobStateMatcher.

A matcher that specifies categories of job states.

## Constants

### ALL

**value:** 0  
Match all jobs, regardless of state.

### ACTIVE

**value:** 1  
Only match jobs in non-terminal states: PENDING, RUNNING, or
CANCEL_PENDING.

### NON_ACTIVE

**value:** 2  
Only match jobs in terminal states: CANCELLED, DONE, or ERROR.