Show / Hide Table of Contents

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
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>
DataLabelingBaseServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>
ProjectsResource.EvaluationJobsResource.PatchRequest
Implements
IClientServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>
IClientServiceRequest
Inherited Members
DataLabelingBaseServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>.Xgafv
DataLabelingBaseServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>.AccessToken
DataLabelingBaseServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>.Alt
DataLabelingBaseServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>.Callback
DataLabelingBaseServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>.Fields
DataLabelingBaseServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>.Key
DataLabelingBaseServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>.OauthToken
DataLabelingBaseServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>.PrettyPrint
DataLabelingBaseServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>.QuotaUser
DataLabelingBaseServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>.UploadType
DataLabelingBaseServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>.UploadProtocol
ClientServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>.Execute()
ClientServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>.ExecuteAsync()
ClientServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>.ETagAction
ClientServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>.ModifyRequest
ClientServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>.ValidateParameters
ClientServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>.ApiVersion
ClientServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>.RequestParameters
ClientServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
ClientServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>.MethodName

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
ClientServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>.RestPath

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
ClientServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>.GetBody()

InitParameters()

Initializes Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
DataLabelingBaseServiceRequest<GoogleCloudDatalabelingV1beta1EvaluationJob>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX