Class ProjectsResource.EvaluationJobsResource.PatchRequest
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.
Inheritance
Inherited Members
Namespace: Google.Apis.DataLabeling.v1beta1
Assembly: Google.Apis.DataLabeling.v1beta1.dll
Syntax
public class ProjectsResource.EvaluationJobsResource.PatchRequest : DataLabelingBaseServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>, IClientServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>, IClientServiceRequest
Constructors
PatchRequest(IClientService, GoogleCloudDatalabelingV1beta1EvaluationJob, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, GoogleCloudDatalabelingV1beta1EvaluationJob body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDatalabelingV1beta1EvaluationJob | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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}"
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
UpdateMask
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.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()