# Cloud Scheduler V1beta1 API - Class Google::Cloud::Scheduler::V1beta1::RunJobRequest (v0.18.0)

0.18.0 (latest) 0.17.1 0.16.0 0.15.1 0.14.0 0.13.1 0.12.0 0.11.1 0.10.2 0.9.1 0.8.1 0.7.0 0.6.0 0.5.0 0.4.5 Reference documentation and code samples for the Cloud Scheduler V1beta1 API class Google::Cloud::Scheduler::V1beta1::RunJobRequest.

Request message for forcing a job to run now using
[RunJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-scheduler-v1beta1/latest/Google-Cloud-Scheduler-V1beta1-CloudScheduler-Client#Google__Cloud__Scheduler__V1beta1__CloudScheduler__Client_run_job_instance_ "Google::Cloud::Scheduler::V1beta1::CloudScheduler::Client#run_job (method)").

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #legacy_app_engine_cron

    def legacy_app_engine_cron() -> ::Boolean

**Returns**

- (::Boolean) --- This field is used to manage the legacy App Engine Cron jobs using the Cloud Scheduler API. If the field is set to true, the job in the __cron queue with the corresponding name will be forced to run instead.

### #legacy_app_engine_cron=

    def legacy_app_engine_cron=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- This field is used to manage the legacy App Engine Cron jobs using the Cloud Scheduler API. If the field is set to true, the job in the __cron queue with the corresponding name will be forced to run instead.
**Returns**

- (::Boolean) --- This field is used to manage the legacy App Engine Cron jobs using the Cloud Scheduler API. If the field is set to true, the job in the __cron queue with the corresponding name will be forced to run instead.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Required. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
**Returns**

- (::String) --- Required. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.