Google Cloud Datalabeling V1beta1 Client - Class CreateEvaluationJobRequest (0.3.1)

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

Request message for CreateEvaluationJob.

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

Namespace

Google \ Cloud \ DataLabeling \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Evaluation job resource parent. Format: "projects/{project_id}"

↳ job Google\Cloud\DataLabeling\V1beta1\EvaluationJob

Required. The evaluation job to create.

getParent

Required. Evaluation job resource parent. Format: "projects/{project_id}"

Returns
TypeDescription
string

setParent

Required. Evaluation job resource parent. Format: "projects/{project_id}"

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getJob

Required. The evaluation job to create.

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

hasJob

clearJob

setJob

Required. The evaluation job to create.

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

static::build

Parameters
NameDescription
parent string

Required. Evaluation job resource parent. Format: "projects/{project_id}" Please see Google\Cloud\DataLabeling\V1beta1\DataLabelingServiceClient::projectName() for help formatting this field.

job Google\Cloud\DataLabeling\V1beta1\EvaluationJob

Required. The evaluation job to create.

Returns
TypeDescription
Google\Cloud\DataLabeling\V1beta1\CreateEvaluationJobRequest