Cloud Scheduler V1beta1 Client - Class UpdateJobRequest (1.7.1)

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

Request message for UpdateJob.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ job Google\Cloud\Scheduler\V1beta1\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
TypeDescription
Google\Cloud\Scheduler\V1beta1\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
NameDescription
var Google\Cloud\Scheduler\V1beta1\Job
Returns
TypeDescription
$this

getUpdateMask

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

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

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

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this