Google Cloud Datalabeling V1beta1 Client - Class UpdateEvaluationJobRequest (0.2.0)

Reference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class UpdateEvaluationJobRequest.

Request message for UpdateEvaluationJob.

Generated from protobuf message google.cloud.datalabeling.v1beta1.UpdateEvaluationJobRequest

Methods

build

Parameters
NameDescription
evaluationJob Google\Cloud\DataLabeling\V1beta1\EvaluationJob

Required. Evaluation job that is going to be updated.

updateMask Google\Protobuf\FieldMask

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.

Returns
TypeDescription
Google\Cloud\DataLabeling\V1beta1\UpdateEvaluationJobRequest

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ evaluation_job Google\Cloud\DataLabeling\V1beta1\EvaluationJob

Required. Evaluation job that is going to be updated.

↳ update_mask Google\Protobuf\FieldMask

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.

getEvaluationJob

Required. Evaluation job that is going to be updated.

Returns
TypeDescription
Google\Cloud\DataLabeling\V1beta1\EvaluationJob|null

hasEvaluationJob

clearEvaluationJob

setEvaluationJob

Required. Evaluation job that is going to be updated.

Parameter
NameDescription
var Google\Cloud\DataLabeling\V1beta1\EvaluationJob
Returns
TypeDescription
$this

getUpdateMask

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.
Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

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.
Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this