0.11.3 (latest) 0.10.0 0.9.3 0.8.2 0.7.1 0.6.6 0.5.1 0.4.1 0.3.10

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Dataflow V1beta3 Client class UpdateJobRequest.

Request to update a Cloud Dataflow job.

Generated from protobuf message `google.dataflow.v1beta3.UpdateJobRequest`

## Namespace

Google \\ Cloud \\ Dataflow \\ V1beta3

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ project_id` | `string` The ID of the Cloud Platform project that the job belongs to. |
| `↳ job_id` | `string` The job ID. |
| `↳ job` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.Job` The updated job. Only the job state is updatable; other fields will be ignored. |
| `↳ location` | `string` The [regional endpoint](https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job. |
| `↳ update_mask` | `Google\Protobuf\FieldMask` 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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.Job|null` |   |

### hasJob

### clearJob

### setJob

The updated job.

Only the job state is updatable; other fields will be ignored.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.Job` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getLocation

The [regional endpoint](https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
contains this job.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setLocation

The [regional endpoint](https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
contains this job.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUpdateMask

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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\FieldMask|null` |   |

### hasUpdateMask

### clearUpdateMask

### setUpdateMask

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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\FieldMask` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |