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

Derived details about the job posting.

Generated from protobuf message `google.cloud.talent.v4.Job.DerivedInfo`

## Namespace

Google \\ Cloud \\ Talent \\ V4 \\ Job

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ locations` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Location>` Structured locations of the job, resolved from [Job.addresses](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getAddresses__). [locations](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job.DerivedInfo#_Google_Cloud_Talent_V4_Job_DerivedInfo__getLocations__) are exactly matched to [Job.addresses](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getAddresses__) in the same order. |
| `↳ job_categories` | `int[]` Job categories derived from [Job.title](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getTitle__) and [Job.description](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getDescription__). |

### getLocations

Structured locations of the job, resolved from
[Job.addresses](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getAddresses__).

[locations](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job.DerivedInfo#_Google_Cloud_Talent_V4_Job_DerivedInfo__getLocations__) are exactly
matched to [Job.addresses](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getAddresses__) in the
same order.

| **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.Location>` |   |

### setLocations

Structured locations of the job, resolved from
[Job.addresses](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getAddresses__).

[locations](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job.DerivedInfo#_Google_Cloud_Talent_V4_Job_DerivedInfo__getLocations__) are exactly
matched to [Job.addresses](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getAddresses__) in the
same order.

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

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

### getJobCategories

Job categories derived from [Job.title](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getTitle__)
and [Job.description](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getDescription__).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<int>` |   |

### setJobCategories

Job categories derived from [Job.title](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getTitle__)
and [Job.description](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getDescription__).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int[]` |

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