# Google Cloud Talent Solution V4 Client - Class UpdateJobRequest (2.3.0)

2.3.0 (latest) 2.2.1 2.1.3 2.0.2 1.3.5 1.2.2 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud Talent Solution V4 Client class UpdateJobRequest.

Update job request.

Generated from protobuf message `google.cloud.talent.v4.UpdateJobRequest`

## Namespace

Google \\ Cloud \\ Talent \\ V4

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ job` | `https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job` Required. The Job to be updated. |
| `↳ update_mask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Strongly recommended for the best service experience. If [update_mask](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.UpdateJobRequest#_Google_Cloud_Talent_V4_UpdateJobRequest__getUpdateMask__) is provided, only the specified fields in [job](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.UpdateJobRequest#_Google_Cloud_Talent_V4_UpdateJobRequest__getJob__) are updated. Otherwise all the fields are updated. A field mask to restrict the fields that are updated. Only top level fields of [Job](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job) are supported. |

### getJob

Required. The Job to be updated.

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

### hasJob

### clearJob

### setJob

Required. The Job to be updated.

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

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

### getUpdateMask

Strongly recommended for the best service experience.

If [update_mask](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.UpdateJobRequest#_Google_Cloud_Talent_V4_UpdateJobRequest__getUpdateMask__) is
provided, only the specified fields in
[job](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.UpdateJobRequest#_Google_Cloud_Talent_V4_UpdateJobRequest__getJob__) are updated. Otherwise
all the fields are updated.
A field mask to restrict the fields that are updated. Only
top level fields of [Job](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job) are supported.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask|null` |   |

### hasUpdateMask

### clearUpdateMask

### setUpdateMask

Strongly recommended for the best service experience.

If [update_mask](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.UpdateJobRequest#_Google_Cloud_Talent_V4_UpdateJobRequest__getUpdateMask__) is
provided, only the specified fields in
[job](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.UpdateJobRequest#_Google_Cloud_Talent_V4_UpdateJobRequest__getJob__) are updated. Otherwise
all the fields are updated.
A field mask to restrict the fields that are updated. Only
top level fields of [Job](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job) are supported.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` |

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `job` | `https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job` Required. The Job to be updated. |
| `updateMask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Strongly recommended for the best service experience. If [update_mask](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.UpdateJobRequest#_Google_Cloud_Talent_V4_UpdateJobRequest__getUpdateMask__) is provided, only the specified fields in [job](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.UpdateJobRequest#_Google_Cloud_Talent_V4_UpdateJobRequest__getJob__) are updated. Otherwise all the fields are updated. A field mask to restrict the fields that are updated. Only top level fields of [Job](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job) are supported. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.UpdateJobRequest` |   |