# Google Cloud Talent Solution V4 Client - Class BatchUpdateJobsRequest (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 BatchUpdateJobsRequest.

Request to update a batch of jobs.

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

## Namespace

Google \\ Cloud \\ Talent \\ V4

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The resource name of the tenant under which the job is created. The format is "projects/{project_id}/tenants/{tenant_id}". For example, "projects/foo/tenants/bar". |
| `↳ jobs` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job>` Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch. |
| `↳ update_mask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Strongly recommended for the best service experience. Be aware that it will also increase latency when checking the status of a batch operation. If [update_mask](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.BatchUpdateJobsRequest#_Google_Cloud_Talent_V4_BatchUpdateJobsRequest__getUpdateMask__) is provided, only the specified fields in [Job](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job) 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. If [update_mask](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.BatchUpdateJobsRequest#_Google_Cloud_Talent_V4_BatchUpdateJobsRequest__getUpdateMask__) is provided, The [Job](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job) inside [JobResult](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.JobResult) will only contains fields that is updated, plus the Id of the Job. Otherwise, [Job](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job) will include all fields, which can yield a very large response. |

### getParent

Required. The resource name of the tenant under which the job is created.

The format is "projects/{project_id}/tenants/{tenant_id}". For example,
"projects/foo/tenants/bar".

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

### setParent

Required. The resource name of the tenant under which the job is created.

The format is "projects/{project_id}/tenants/{tenant_id}". For example,
"projects/foo/tenants/bar".

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

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

### getJobs

Required. The jobs to be updated.

A maximum of 200 jobs can be updated in a batch.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job>` |   |

### setJobs

Required. The jobs to be updated.

A maximum of 200 jobs can be updated in a batch.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<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. Be aware that it will
also increase latency when checking the status of a batch operation.

If [update_mask](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.BatchUpdateJobsRequest#_Google_Cloud_Talent_V4_BatchUpdateJobsRequest__getUpdateMask__)
is provided, only the specified fields in [Job](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job)
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.
If [update_mask](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.BatchUpdateJobsRequest#_Google_Cloud_Talent_V4_BatchUpdateJobsRequest__getUpdateMask__)
is provided, The [Job](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job) inside
[JobResult](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.JobResult)
will only contains fields that is updated, plus the Id of the Job.
Otherwise, [Job](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job) will include all fields,
which can yield a very large response.

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

### hasUpdateMask

### clearUpdateMask

### setUpdateMask

Strongly recommended for the best service experience. Be aware that it will
also increase latency when checking the status of a batch operation.

If [update_mask](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.BatchUpdateJobsRequest#_Google_Cloud_Talent_V4_BatchUpdateJobsRequest__getUpdateMask__)
is provided, only the specified fields in [Job](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job)
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.
If [update_mask](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.BatchUpdateJobsRequest#_Google_Cloud_Talent_V4_BatchUpdateJobsRequest__getUpdateMask__)
is provided, The [Job](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job) inside
[JobResult](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.JobResult)
will only contains fields that is updated, plus the Id of the Job.
Otherwise, [Job](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job) will include all fields,
which can yield a very large response.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The resource name of the tenant under which the job is created. The format is "projects/{project_id}/tenants/{tenant_id}". For example, "projects/foo/tenants/bar". Please see JobServiceClient::tenantName() for help formatting this field. |
| `jobs` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job>` Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch. |

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