Cloud Scheduler V1 Client - Class UpdateJobRequest (2.0.0)

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

Request message for UpdateJob.

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

Namespace

Google \ Cloud \ Scheduler \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ job Google\Cloud\Scheduler\V1\Job

Required. The new job properties. name must be specified. Output only fields cannot be modified using UpdateJob. Any value specified for an output only field will be ignored.

↳ update_mask Google\Protobuf\FieldMask

A mask used to specify which fields of the job are being updated.

getJob

Required. The new job properties.

name must be specified. Output only fields cannot be modified using UpdateJob. Any value specified for an output only field will be ignored.

Returns
Type Description
Google\Cloud\Scheduler\V1\Job|null

hasJob

clearJob

setJob

Required. The new job properties.

name must be specified. Output only fields cannot be modified using UpdateJob. Any value specified for an output only field will be ignored.

Parameter
Name Description
var Google\Cloud\Scheduler\V1\Job
Returns
Type Description
$this

getUpdateMask

A mask used to specify which fields of the job are being updated.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

A mask used to specify which fields of the job are being updated.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
job Google\Cloud\Scheduler\V1\Job

Required. The new job properties. name must be specified.

Output only fields cannot be modified using UpdateJob. Any value specified for an output only field will be ignored.

updateMask Google\Protobuf\FieldMask

A mask used to specify which fields of the job are being updated.

Returns
Type Description
Google\Cloud\Scheduler\V1\UpdateJobRequest