Cloud Scheduler V1 Client - Class PauseJobRequest (1.10.4)

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

Request message for PauseJob.

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

Namespace

Google \ Cloud \ Scheduler \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
string

setName

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

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
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
Type Description
Google\Cloud\Scheduler\V1\PauseJobRequest