# AI Platform Data Labeling Service V1beta1 API - Class Google::Cloud::DataLabeling::V1beta1::EvaluationJob (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 class Google::Cloud::DataLabeling::V1beta1::EvaluationJob.

Defines an evaluation job that runs periodically to generate
[Evaluations](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)"). [Creating an evaluation
job](https://docs.cloud.google.com/ml-engine/docs/continuous-evaluation/create-job) is the starting point
for using continuous evaluation.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #annotation_spec_set

    def annotation_spec_set() -> ::String

**Returns**

- (::String) --- Required. Name of the [AnnotationSpecSet](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-AnnotationSpecSet "Google::Cloud::DataLabeling::V1beta1::AnnotationSpecSet (class)") describing all the labels that your machine learning model outputs. You must create this resource before you create an evaluation job and provide its name in the following format:


  "projects/<var translate="no">{project_id}</var>/annotationSpecSets/<var translate="no">{annotation_spec_set_id}</var>"

### #annotation_spec_set=

    def annotation_spec_set=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Name of the [AnnotationSpecSet](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-AnnotationSpecSet "Google::Cloud::DataLabeling::V1beta1::AnnotationSpecSet (class)") describing all the labels that your machine learning model outputs. You must create this resource before you create an evaluation job and provide its name in the following format:


  "projects/<var translate="no">{project_id}</var>/annotationSpecSets/<var translate="no">{annotation_spec_set_id}</var>"
**Returns**

- (::String) --- Required. Name of the [AnnotationSpecSet](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-AnnotationSpecSet "Google::Cloud::DataLabeling::V1beta1::AnnotationSpecSet (class)") describing all the labels that your machine learning model outputs. You must create this resource before you create an evaluation job and provide its name in the following format:


  "projects/<var translate="no">{project_id}</var>/annotationSpecSets/<var translate="no">{annotation_spec_set_id}</var>"

### #attempts

    def attempts() -> ::Array<::Google::Cloud::DataLabeling::V1beta1::Attempt>

**Returns**

- (::Array\<[::Google::Cloud::DataLabeling::V1beta1::Attempt](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-Attempt)\>) --- Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.

### #attempts=

    def attempts=(value) -> ::Array<::Google::Cloud::DataLabeling::V1beta1::Attempt>

**Parameter**

- **value** (::Array\<[::Google::Cloud::DataLabeling::V1beta1::Attempt](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-Attempt)\>) --- Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.
**Returns**

- (::Array\<[::Google::Cloud::DataLabeling::V1beta1::Attempt](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-Attempt)\>) --- Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Protobuf-Timestamp)) --- Output only. Timestamp of when this evaluation job was created.

### #create_time=

    def create_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Protobuf-Timestamp)) --- Output only. Timestamp of when this evaluation job was created.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Protobuf-Timestamp)) --- Output only. Timestamp of when this evaluation job was created.

### #description

    def description() -> ::String

**Returns**

- (::String) --- Required. Description of the job. The description can be up to 25,000 characters long.

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Description of the job. The description can be up to 25,000 characters long.
**Returns**

- (::String) --- Required. Description of the job. The description can be up to 25,000 characters long.

### #evaluation_job_config

    def evaluation_job_config() -> ::Google::Cloud::DataLabeling::V1beta1::EvaluationJobConfig

**Returns**

- ([::Google::Cloud::DataLabeling::V1beta1::EvaluationJobConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-EvaluationJobConfig)) --- Required. Configuration details for the evaluation job.

### #evaluation_job_config=

    def evaluation_job_config=(value) -> ::Google::Cloud::DataLabeling::V1beta1::EvaluationJobConfig

**Parameter**

- **value** ([::Google::Cloud::DataLabeling::V1beta1::EvaluationJobConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-EvaluationJobConfig)) --- Required. Configuration details for the evaluation job.
**Returns**

- ([::Google::Cloud::DataLabeling::V1beta1::EvaluationJobConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-EvaluationJobConfig)) --- Required. Configuration details for the evaluation job.

### #label_missing_ground_truth

    def label_missing_ground_truth() -> ::Boolean

**Returns**

- (::Boolean) --- Required. Whether you want Data Labeling Service to provide ground truth labels for prediction input. If you want the service to assign human labelers to annotate your data, set this to `true`. If you want to provide your own ground truth labels in the evaluation job's BigQuery table, set this to `false`.

### #label_missing_ground_truth=

    def label_missing_ground_truth=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Required. Whether you want Data Labeling Service to provide ground truth labels for prediction input. If you want the service to assign human labelers to annotate your data, set this to `true`. If you want to provide your own ground truth labels in the evaluation job's BigQuery table, set this to `false`.
**Returns**

- (::Boolean) --- Required. Whether you want Data Labeling Service to provide ground truth labels for prediction input. If you want the service to assign human labelers to annotate your data, set this to `true`. If you want to provide your own ground truth labels in the evaluation job's BigQuery table, set this to `false`.

### #model_version

    def model_version() -> ::String

**Returns**

- (::String) --- Required. The [AI Platform Prediction model
  version](https://docs.cloud.google.com/ml-engine/docs/prediction-overview) to be evaluated. Prediction input and output is sampled from this model version. When creating an evaluation job, specify the model version in the following format:


  "projects/<var translate="no">{project_id}</var>/models/<var translate="no">{model_name}</var>/versions/<var translate="no">{version_name}</var>"

  There can only be one evaluation job per model version.

### #model_version=

    def model_version=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The [AI Platform Prediction model
  version](https://docs.cloud.google.com/ml-engine/docs/prediction-overview) to be evaluated. Prediction input and output is sampled from this model version. When creating an evaluation job, specify the model version in the following format:


  "projects/<var translate="no">{project_id}</var>/models/<var translate="no">{model_name}</var>/versions/<var translate="no">{version_name}</var>"

  There can only be one evaluation job per model version.
**Returns**

- (::String) --- Required. The [AI Platform Prediction model
  version](https://docs.cloud.google.com/ml-engine/docs/prediction-overview) to be evaluated. Prediction input and output is sampled from this model version. When creating an evaluation job, specify the model version in the following format:


  "projects/<var translate="no">{project_id}</var>/models/<var translate="no">{model_name}</var>/versions/<var translate="no">{version_name}</var>"

  There can only be one evaluation job per model version.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Output only. After you create a job, Data Labeling Service assigns a name to the job with the following format:

  "projects/<var translate="no">{project_id}</var>/evaluationJobs/<var translate="no">{evaluation_job_id}</var>"

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Output only. After you create a job, Data Labeling Service assigns a name to the job with the following format:


  "projects/<var translate="no">{project_id}</var>/evaluationJobs/<var translate="no">{evaluation_job_id}</var>"
**Returns**

- (::String) --- Output only. After you create a job, Data Labeling Service assigns a name to the job with the following format:

  "projects/<var translate="no">{project_id}</var>/evaluationJobs/<var translate="no">{evaluation_job_id}</var>"

### #schedule

    def schedule() -> ::String

**Returns**

- (::String) --- Required. Describes the interval at which the job runs. This interval must be at least 1 day, and it is rounded to the nearest day. For example, if you specify a 50-hour interval, the job runs every 2 days.

  You can provide the schedule in
  [crontab format](https://docs.cloud.google.com/scheduler/docs/configuring/cron-job-schedules) or in an
  [English-like
  format](https://docs.cloud.google.com/appengine/docs/standard/python/config/cronref#schedule_format).

  Regardless of what you specify, the job will run at 10:00 AM UTC. Only the
  interval from this schedule is used, not the specific time of day.

### #schedule=

    def schedule=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Describes the interval at which the job runs. This interval must be at least 1 day, and it is rounded to the nearest day. For example, if you specify a 50-hour interval, the job runs every 2 days.


  You can provide the schedule in
  [crontab format](https://docs.cloud.google.com/scheduler/docs/configuring/cron-job-schedules) or in an
  [English-like
  format](https://docs.cloud.google.com/appengine/docs/standard/python/config/cronref#schedule_format).

  Regardless of what you specify, the job will run at 10:00 AM UTC. Only the
  interval from this schedule is used, not the specific time of day.
**Returns**

- (::String) --- Required. Describes the interval at which the job runs. This interval must be at least 1 day, and it is rounded to the nearest day. For example, if you specify a 50-hour interval, the job runs every 2 days.

  You can provide the schedule in
  [crontab format](https://docs.cloud.google.com/scheduler/docs/configuring/cron-job-schedules) or in an
  [English-like
  format](https://docs.cloud.google.com/appengine/docs/standard/python/config/cronref#schedule_format).

  Regardless of what you specify, the job will run at 10:00 AM UTC. Only the
  interval from this schedule is used, not the specific time of day.

### #state

    def state() -> ::Google::Cloud::DataLabeling::V1beta1::EvaluationJob::State

**Returns**

- ([::Google::Cloud::DataLabeling::V1beta1::EvaluationJob::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-EvaluationJob-State)) --- Output only. Describes the current state of the job.

### #state=

    def state=(value) -> ::Google::Cloud::DataLabeling::V1beta1::EvaluationJob::State

**Parameter**

- **value** ([::Google::Cloud::DataLabeling::V1beta1::EvaluationJob::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-EvaluationJob-State)) --- Output only. Describes the current state of the job.
**Returns**

- ([::Google::Cloud::DataLabeling::V1beta1::EvaluationJob::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-EvaluationJob-State)) --- Output only. Describes the current state of the job.