Cloud Scheduler V1beta1 Client - Class UpdateJobRequest (1.10.4)

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

Namespace

Google \ Cloud \ Scheduler \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
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
Name Description
var Google\Cloud\Scheduler\V1beta1\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