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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ job |
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 |
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 |
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 |
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 |
UpdateJobRequest |