The list of fields to update relative to Job. If empty, only RequestedJobState will be considered for update. If the FieldMask is not empty and RequestedJobState is none/empty, The fields specified in the update mask will be the only ones considered for update. If both RequestedJobState and update_mask are specified, an error will be returned as we cannot update both state and mask.
getProjectId
The ID of the Cloud Platform project that the job belongs to.
Returns
Type
Description
string
setProjectId
The ID of the Cloud Platform project that the job belongs to.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getJobId
The job ID.
Returns
Type
Description
string
setJobId
The job ID.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getJob
The updated job.
Only the job state is updatable; other fields will be ignored.
The list of fields to update relative to Job. If empty, only
RequestedJobState will be considered for update. If the FieldMask is not
empty and RequestedJobState is none/empty, The fields specified in the
update mask will be the only ones considered for update. If both
RequestedJobState and update_mask are specified, an error will be returned
as we cannot update both state and mask.
The list of fields to update relative to Job. If empty, only
RequestedJobState will be considered for update. If the FieldMask is not
empty and RequestedJobState is none/empty, The fields specified in the
update mask will be the only ones considered for update. If both
RequestedJobState and update_mask are specified, an error will be returned
as we cannot update both state and mask.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dataflow V1beta3 Client - Class UpdateJobRequest (0.8.2)\n\nVersion latestkeyboard_arrow_down\n\n- [0.8.2 (latest)](/php/docs/reference/cloud-dataflow/latest/V1beta3.UpdateJobRequest)\n- [0.8.1](/php/docs/reference/cloud-dataflow/0.8.1/V1beta3.UpdateJobRequest)\n- [0.7.1](/php/docs/reference/cloud-dataflow/0.7.1/V1beta3.UpdateJobRequest)\n- [0.6.6](/php/docs/reference/cloud-dataflow/0.6.6/V1beta3.UpdateJobRequest)\n- [0.5.1](/php/docs/reference/cloud-dataflow/0.5.1/V1beta3.UpdateJobRequest)\n- [0.4.1](/php/docs/reference/cloud-dataflow/0.4.1/V1beta3.UpdateJobRequest)\n- [0.3.10](/php/docs/reference/cloud-dataflow/0.3.10/V1beta3.UpdateJobRequest) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Google Cloud Dataflow V1beta3 Client class UpdateJobRequest.\n\nRequest to update a Cloud Dataflow job.\n\nGenerated from protobuf message `google.dataflow.v1beta3.UpdateJobRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dataflow \\\\ V1beta3\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getProjectId\n\nThe ID of the Cloud Platform project that the job belongs to.\n\n### setProjectId\n\nThe ID of the Cloud Platform project that the job belongs to.\n\n### getJobId\n\nThe job ID.\n\n### setJobId\n\nThe job ID.\n\n### getJob\n\nThe updated job.\n\nOnly the job state is updatable; other fields will be ignored.\n\n### hasJob\n\n### clearJob\n\n### setJob\n\nThe updated job.\n\nOnly the job state is updatable; other fields will be ignored.\n\n### getLocation\n\nThe [regional endpoint](https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that\ncontains this job.\n\n### setLocation\n\nThe [regional endpoint](https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that\ncontains this job.\n\n### getUpdateMask\n\nThe list of fields to update relative to Job. If empty, only\nRequestedJobState will be considered for update. If the FieldMask is not\nempty and RequestedJobState is none/empty, The fields specified in the\nupdate mask will be the only ones considered for update. If both\nRequestedJobState and update_mask are specified, an error will be returned\nas we cannot update both state and mask.\n\n### hasUpdateMask\n\n### clearUpdateMask\n\n### setUpdateMask\n\nThe list of fields to update relative to Job. If empty, only\nRequestedJobState will be considered for update. If the FieldMask is not\nempty and RequestedJobState is none/empty, The fields specified in the\nupdate mask will be the only ones considered for update. If both\nRequestedJobState and update_mask are specified, an error will be returned\nas we cannot update both state and mask."]]