# AI Platform Data Labeling Service V1beta1 API - Module Google::Cloud::DataLabeling::V1beta1::EvaluationJob::State (v0.15.0)

0.15.0 (latest) 0.14.0 0.13.1 0.12.0 0.11.1 0.10.1 0.9.0 0.8.1 0.7.2 0.6.0 0.5.0 0.4.0 0.3.5 Reference documentation and code samples for the AI Platform Data Labeling Service V1beta1 API module Google::Cloud::DataLabeling::V1beta1::EvaluationJob::State.

State of the job.

## Constants

### STATE_UNSPECIFIED

**value:**0

### SCHEDULED

**value:** 1  
The job is scheduled to run at the [configured interval](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-EvaluationJob#Google__Cloud__DataLabeling__V1beta1__EvaluationJob_schedule_instance_ "Google::Cloud::DataLabeling::V1beta1::EvaluationJob#schedule (method)"). You
can [pause](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-DataLabelingService-Client#Google__Cloud__DataLabeling__V1beta1__DataLabelingService__Client_pause_evaluation_job_instance_ "Google::Cloud::DataLabeling::V1beta1::DataLabelingService::Client#pause_evaluation_job (method)") or
[delete](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-DataLabelingService-Client#Google__Cloud__DataLabeling__V1beta1__DataLabelingService__Client_delete_evaluation_job_instance_ "Google::Cloud::DataLabeling::V1beta1::DataLabelingService::Client#delete_evaluation_job (method)") the job.


<br />

When the job is in this state, it samples prediction input and output
from your model version into your BigQuery table as predictions occur.

### RUNNING

**value:** 2  
The job is currently running. When the job runs, Data Labeling Service
does several things:


1. If you have configured your job to use Data Labeling Service for
   ground truth labeling, the service creates a
   [Dataset](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-Dataset "Google::Cloud::DataLabeling::V1beta1::Dataset (class)") and a labeling task for all data sampled
   since the last time the job ran. Human labelers provide ground truth
   labels for your data. Human labeling may take hours, or even days,
   depending on how much data has been sampled. The job remains in the
   `RUNNING` state during this time, and it can even be running multiple
   times in parallel if it gets triggered again (for example 24 hours
   later) before the earlier run has completed. When human labelers have
   finished labeling the data, the next step occurs.

   <br />


   If you have configured your job to provide your own ground truth
   labels, Data Labeling Service still creates a [Dataset](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-Dataset "Google::Cloud::DataLabeling::V1beta1::Dataset (class)") for newly
   sampled data, but it expects that you have already added ground truth
   labels to the BigQuery table by this time. The next step occurs
   immediately.

2. Data Labeling Service creates an [Evaluation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-Evaluation "Google::Cloud::DataLabeling::V1beta1::Evaluation (class)") by comparing your
   model version's predictions with the ground truth labels.

<br />

If the job remains in this state for a long time, it continues to sample
prediction data into your BigQuery table and will run again at the next
interval, even if it causes the job to run multiple times in parallel.

### PAUSED

**value:** 3  
The job is not sampling prediction input and output into your BigQuery
table and it will not run according to its schedule. You can
[resume](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-DataLabelingService-Client#Google__Cloud__DataLabeling__V1beta1__DataLabelingService__Client_resume_evaluation_job_instance_ "Google::Cloud::DataLabeling::V1beta1::DataLabelingService::Client#resume_evaluation_job (method)") the job.

### STOPPED

**value:** 4  
The job has this state right before it is deleted.