Class ProjectsResource.EvaluationJobsResource
The "evaluationJobs" collection of methods.
Inherited Members
Namespace: Google.Apis.DataLabeling.v1beta1
Assembly: Google.Apis.DataLabeling.v1beta1.dll
Syntax
public class ProjectsResource.EvaluationJobsResource
Constructors
EvaluationJobsResource(IClientService)
Constructs a new resource.
Declaration
public EvaluationJobsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleCloudDatalabelingV1beta1CreateEvaluationJobRequest, string)
Creates an evaluation job.
Declaration
public virtual ProjectsResource.EvaluationJobsResource.CreateRequest Create(GoogleCloudDatalabelingV1beta1CreateEvaluationJobRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDatalabelingV1beta1CreateEvaluationJobRequest | body | The body of the request. |
string | parent | Required. Evaluation job resource parent. Format: "projects/{project_id}" |
Returns
Type | Description |
---|---|
ProjectsResource.EvaluationJobsResource.CreateRequest |
Delete(string)
Stops and deletes an evaluation job.
Declaration
public virtual ProjectsResource.EvaluationJobsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the evaluation job that is going to be deleted. Format: "projects/{project_id}/evaluationJobs/{evaluation_job_id}" |
Returns
Type | Description |
---|---|
ProjectsResource.EvaluationJobsResource.DeleteRequest |
Get(string)
Gets an evaluation job by resource name.
Declaration
public virtual ProjectsResource.EvaluationJobsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the evaluation job. Format: "projects/{project_id} /evaluationJobs/{evaluation_job_id}" |
Returns
Type | Description |
---|---|
ProjectsResource.EvaluationJobsResource.GetRequest |
List(string)
Lists all evaluation jobs within a project with possible filters. Pagination is supported.
Declaration
public virtual ProjectsResource.EvaluationJobsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Evaluation job resource parent. Format: "projects/{project_id}" |
Returns
Type | Description |
---|---|
ProjectsResource.EvaluationJobsResource.ListRequest |
Patch(GoogleCloudDatalabelingV1beta1EvaluationJob, string)
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.
Declaration
public virtual ProjectsResource.EvaluationJobsResource.PatchRequest Patch(GoogleCloudDatalabelingV1beta1EvaluationJob body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDatalabelingV1beta1EvaluationJob | body | The body of the request. |
string | name | 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}" |
Returns
Type | Description |
---|---|
ProjectsResource.EvaluationJobsResource.PatchRequest |
Pause(GoogleCloudDatalabelingV1beta1PauseEvaluationJobRequest, string)
Pauses an evaluation job. Pausing an evaluation job that is already in a PAUSED
state is a no-op.
Declaration
public virtual ProjectsResource.EvaluationJobsResource.PauseRequest Pause(GoogleCloudDatalabelingV1beta1PauseEvaluationJobRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDatalabelingV1beta1PauseEvaluationJobRequest | body | The body of the request. |
string | name | Required. Name of the evaluation job that is going to be paused. Format: "projects/{project_id}/evaluationJobs/{evaluation_job_id}" |
Returns
Type | Description |
---|---|
ProjectsResource.EvaluationJobsResource.PauseRequest |
Resume(GoogleCloudDatalabelingV1beta1ResumeEvaluationJobRequest, string)
Resumes a paused evaluation job. A deleted evaluation job can't be resumed. Resuming a running or scheduled evaluation job is a no-op.
Declaration
public virtual ProjectsResource.EvaluationJobsResource.ResumeRequest Resume(GoogleCloudDatalabelingV1beta1ResumeEvaluationJobRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDatalabelingV1beta1ResumeEvaluationJobRequest | body | The body of the request. |
string | name | Required. Name of the evaluation job that is going to be resumed. Format: "projects/{project_id}/evaluationJobs/{evaluation_job_id}" |
Returns
Type | Description |
---|---|
ProjectsResource.EvaluationJobsResource.ResumeRequest |