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
object
ClientServiceRequest
ClientServiceRequest<Job>
CloudSchedulerBaseServiceRequest<Job>
ProjectsResource.LocationsResource.JobsResource.RunRequest
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>.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.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
IClientService service
RunJobRequest 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.CloudScheduler.v1beta1.Data.Job>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
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
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
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
object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudScheduler.v1beta1.Data.Job>.GetBody()

InitParameters()

Initializes Run parameter list.

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

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top Generated by DocFX