Class ProjectsResource.EvaluationJobsResource.PauseRequest
Pauses an evaluation job. Pausing an evaluation job that is already in a PAUSED
state is a no-op.
Inheritance
ProjectsResource.EvaluationJobsResource.PauseRequest
Inherited Members
Namespace: Google.Apis.DataLabeling.v1beta1
Assembly: Google.Apis.DataLabeling.v1beta1.dll
Syntax
public class ProjectsResource.EvaluationJobsResource.PauseRequest : DataLabelingBaseServiceRequest<GoogleProtobufEmpty>, IClientServiceRequest<GoogleProtobufEmpty>, IClientServiceRequest
Constructors
PauseRequest(IClientService, GoogleCloudDatalabelingV1beta1PauseEvaluationJobRequest, string)
Constructs a new Pause request.
Declaration
public PauseRequest(IClientService service, GoogleCloudDatalabelingV1beta1PauseEvaluationJobRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDatalabelingV1beta1PauseEvaluationJobRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DataLabeling.v1beta1.Data.GoogleProtobufEmpty>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DataLabeling.v1beta1.Data.GoogleProtobufEmpty>.MethodName
Name
Required. Name of the evaluation job that is going to be paused. 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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DataLabeling.v1beta1.Data.GoogleProtobufEmpty>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DataLabeling.v1beta1.Data.GoogleProtobufEmpty>.GetBody()
InitParameters()
Initializes Pause parameter list.
Declaration
protected override void InitParameters()