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
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<Job>
CloudSchedulerBaseServiceRequest<Job>
ProjectsResource.LocationsResource.JobsResource.ResumeRequest
Implements
Google.Apis.Requests.IClientServiceRequest<Job>
Google.Apis.Requests.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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudScheduler.v1beta1.Data.Job>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudScheduler.v1beta1.Data.Job>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudScheduler.v1beta1.Data.Job>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudScheduler.v1beta1.Data.Job>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudScheduler.v1beta1.Data.Job>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudScheduler.v1beta1.Data.Job>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudScheduler.v1beta1.Data.Job>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudScheduler.v1beta1.Data.Job>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudScheduler.v1beta1.Data.Job>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudScheduler.v1beta1.Data.Job>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudScheduler.v1beta1.Data.Job>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudScheduler.v1beta1.Data.Job>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudScheduler.v1beta1.Data.Job>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudScheduler.v1beta1.Data.Job>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudScheduler.v1beta1
Assembly: Google.Apis.CloudScheduler.v1beta1.dll
Syntax
public class 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
Google.Apis.Services.IClientService service
ResumeJobRequest body
System.String name

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudScheduler.v1beta1.Data.Job>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudScheduler.v1beta1.Data.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
System.String

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudScheduler.v1beta1.Data.Job>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
System.Object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudScheduler.v1beta1.Data.Job>.GetBody()

InitParameters()

Initializes Resume parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudScheduler.v1beta1.CloudSchedulerBaseServiceRequest<Google.Apis.CloudScheduler.v1beta1.Data.Job>.InitParameters()

Implements

Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest
In This Article
Back to top