Cloud Scheduler V1 Client - Class DeleteJobRequest (1.10.5)

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

Request message for deleting a job using DeleteJob.

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

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\DeleteJobRequest