Class ProjectsResource.LocationsResource.JobsResource.ResumeRequest
Resume a job. This method reenables a job after it has been Job.State.PAUSED. The state of a job is stored in Job.state; after calling this method it will be set to Job.State.ENABLED. A job must be in Job.State.PAUSED to be resumed.
Inheritance
ProjectsResource.LocationsResource.JobsResource.ResumeRequest
Inherited Members
Namespace: Google.Apis.CloudScheduler.v1beta1
Assembly: Google.Apis.CloudScheduler.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.JobsResource.ResumeRequest : CloudSchedulerBaseServiceRequest<Job>, IClientServiceRequest<Job>, IClientServiceRequest
Constructors
ResumeRequest(IClientService, ResumeJobRequest, string)
Constructs a new Resume request.
Declaration
public ResumeRequest(IClientService service, ResumeJobRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ResumeJobRequest | 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
Required. The job name. For example: projects/PROJECT_ID/locations/LOCATION_ID/jobs/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
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Resume parameter list.
Declaration
protected override void InitParameters()