Method: projects.evaluationJobs.patch

Stay organized with collections Save and categorize content based on your preferences.

Updates an evaluation job. You can only update certain fields of the job's EvaluationJobConfig: humanAnnotationConfig.instruction, exampleCount, and exampleSamplePercentage.

If you want to change any other aspect of the evaluation job, you must delete the job and create a new one.

HTTP request

PATCH https://datalabeling.googleapis.com/v1beta1/{evaluationJob.name=projects/*/evaluationJobs/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
evaluationJob.name

string

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

"projects/{project_id}/evaluationJobs/{evaluation_job_id}"

Query parameters

Parameters
updateMask

string (FieldMask format)

Optional. Mask for which fields to update. You can only provide the following fields:

  • evaluationJobConfig.humanAnnotationConfig.instruction
  • evaluationJobConfig.exampleCount
  • evaluationJobConfig.exampleSamplePercentage

You can provide more than one of these fields by separating them with commas.

A comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of EvaluationJob.

Response body

If successful, the response body contains an instance of EvaluationJob.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.