Google Cloud Datalabeling V1beta1 Client - Class CreateEvaluationJobRequest (0.2.0)

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

Methods

build

Parameters
NameDescription
parent string

Required. Evaluation job resource parent. Format: "projects/{project_id}" Please see {@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

__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