Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.JobsResource.RunRequest

Forces a job to run now. When this method is called, Cloud Scheduler will dispatch the job, even if the job is already running.

Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<Job>
CloudSchedulerBaseServiceRequest<Job>
ProjectsResource.LocationsResource.JobsResource.RunRequest
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 RunRequest : CloudSchedulerBaseServiceRequest<Job>, IClientServiceRequest<Job>, IClientServiceRequest

Constructors

RunRequest(IClientService, RunJobRequest, String)

Constructs a new Run request.

Declaration
public RunRequest(IClientService service, RunJobRequest body, string name)
Parameters
Type Name Description
Google.Apis.Services.IClientService service
RunJobRequest 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 Run 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