Cloud Scheduler V1 Client - Class RunJobRequest (1.9.4)

Reference documentation and code samples for the Cloud Scheduler V1 Client class RunJobRequest.

Request message for forcing a job to run now using RunJob.

Generated from protobuf message google.cloud.scheduler.v1.RunJobRequest

Namespace

Google \ Cloud \ Scheduler \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The job name. For example: projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID.

getName

Required. The job name. For example: projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID.

Returns
TypeDescription
string

setName

Required. The job name. For example: projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The job name. For example: projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID. Please see Google\Cloud\Scheduler\V1\CloudSchedulerClient::jobName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\Scheduler\V1\RunJobRequest