Show / Hide Table of Contents

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
object
ClientServiceRequest
ClientServiceRequest<Job>
CloudSchedulerBaseServiceRequest<Job>
ProjectsResource.LocationsResource.JobsResource.ResumeRequest
Implements
IClientServiceRequest<Job>
IClientServiceRequest
Inherited Members
CloudSchedulerBaseServiceRequest<Job>.Xgafv
CloudSchedulerBaseServiceRequest<Job>.AccessToken
CloudSchedulerBaseServiceRequest<Job>.Alt
CloudSchedulerBaseServiceRequest<Job>.Callback
CloudSchedulerBaseServiceRequest<Job>.Fields
CloudSchedulerBaseServiceRequest<Job>.Key
CloudSchedulerBaseServiceRequest<Job>.OauthToken
CloudSchedulerBaseServiceRequest<Job>.PrettyPrint
CloudSchedulerBaseServiceRequest<Job>.QuotaUser
CloudSchedulerBaseServiceRequest<Job>.UploadType
CloudSchedulerBaseServiceRequest<Job>.UploadProtocol
ClientServiceRequest<Job>.Execute()
ClientServiceRequest<Job>.ExecuteAsStream()
ClientServiceRequest<Job>.ExecuteAsync()
ClientServiceRequest<Job>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Job>.ExecuteAsStreamAsync()
ClientServiceRequest<Job>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Job>.CreateRequest(bool?)
ClientServiceRequest<Job>.GenerateRequestUri()
ClientServiceRequest<Job>.GetDefaultETagAction(string)
ClientServiceRequest<Job>.ETagAction
ClientServiceRequest<Job>.ModifyRequest
ClientServiceRequest<Job>.ValidateParameters
ClientServiceRequest<Job>.ApiVersion
ClientServiceRequest<Job>.RequestParameters
ClientServiceRequest<Job>.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.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
ClientServiceRequest<Job>.HttpMethod

MethodName

Gets the method name.

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

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

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<Job>.GetBody()

InitParameters()

Initializes Resume parameter list.

Declaration
protected override void InitParameters()
Overrides
CloudSchedulerBaseServiceRequest<Job>.InitParameters()

Implements

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