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

Mutation result of a job from a batch operation.

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

## 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` Here [Job](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job) only contains basic information including [name](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getName__), [company](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getCompany__), [language_code](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getLanguageCode__) and [requisition_id](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getRequisitionId__), use getJob method to retrieve detailed information of the created/updated job. |
| `↳ status` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Status.html` The status of the job processed. This field is populated if the processing of the [job](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.JobResult#_Google_Cloud_Talent_V4_JobResult__getJob__) fails. |

### getJob

Here [Job](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job) only contains basic information
including [name](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getName__),
[company](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getCompany__),
[language_code](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getLanguageCode__) and
[requisition_id](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getRequisitionId__), use getJob
method to retrieve detailed information of the created/updated job.

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

### hasJob

### clearJob

### setJob

Here [Job](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job) only contains basic information
including [name](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getName__),
[company](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getCompany__),
[language_code](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getLanguageCode__) and
[requisition_id](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getRequisitionId__), use getJob
method to retrieve detailed information of the created/updated job.

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

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

### getStatus

The status of the job processed. This field is populated if the
processing of the [job](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.JobResult#_Google_Cloud_Talent_V4_JobResult__getJob__) fails.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Status.html|null` |   |

### hasStatus

### clearStatus

### setStatus

The status of the job processed. This field is populated if the
processing of the [job](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.JobResult#_Google_Cloud_Talent_V4_JobResult__getJob__) fails.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Status.html` |

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