Google Cloud Datalabeling V1beta1 Client - Class ListEvaluationJobsRequest (0.4.2)

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

Request message for ListEvaluationJobs.

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

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}"

↳ filter string

Optional. You can filter the jobs to list by model_id (also known as model_name, as described in EvaluationJob.modelVersion) or by evaluation job state (as described in EvaluationJob.state). To filter by both criteria, use the AND operator or the OR operator. For example, you can use the following string for your filter: "evaluationjob.model_id = {model_name} AND evaluationjob.state = {evaluation_job_state}"

↳ page_size int

Optional. Requested page size. Server may return fewer results than requested. Default value is 100.

↳ page_token string

Optional. A token identifying a page of results for the server to return. Typically obtained by the nextPageToken in the response to the previous request. The request returns the first page if this is empty.

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

getFilter

Optional. You can filter the jobs to list by model_id (also known as model_name, as described in EvaluationJob.modelVersion) or by evaluation job state (as described in EvaluationJob.state). To filter by both criteria, use the AND operator or the OR operator. For example, you can use the following string for your filter: "evaluationjob.model_id = {model_name} AND evaluationjob.state = {evaluation_job_state}"

Returns
TypeDescription
string

setFilter

Optional. You can filter the jobs to list by model_id (also known as model_name, as described in EvaluationJob.modelVersion) or by evaluation job state (as described in EvaluationJob.state). To filter by both criteria, use the AND operator or the OR operator. For example, you can use the following string for your filter: "evaluationjob.model_id = {model_name} AND evaluationjob.state = {evaluation_job_state}"

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

Optional. Requested page size. Server may return fewer results than requested. Default value is 100.

Returns
TypeDescription
int

setPageSize

Optional. Requested page size. Server may return fewer results than requested. Default value is 100.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

Optional. A token identifying a page of results for the server to return.

Typically obtained by the nextPageToken in the response to the previous request. The request returns the first page if this is empty.

Returns
TypeDescription
string

setPageToken

Optional. A token identifying a page of results for the server to return.

Typically obtained by the nextPageToken in the response to the previous request. The request returns the first page if this is empty.

Parameter
NameDescription
var string
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.

filter string

Optional. You can filter the jobs to list by model_id (also known as model_name, as described in EvaluationJob.modelVersion) or by evaluation job state (as described in EvaluationJob.state). To filter by both criteria, use the AND operator or the OR operator. For example, you can use the following string for your filter: "evaluationjob.model_id = {model_name} AND evaluationjob.state = {evaluation_job_state}"

Returns
TypeDescription
Google\Cloud\DataLabeling\V1beta1\ListEvaluationJobsRequest