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

Job entry with metadata inside
[SearchJobsResponse](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.SearchJobsResponse).

Generated from protobuf message `google.cloud.talent.v4.SearchJobsResponse.MatchingJob`

## Namespace

Google \\ Cloud \\ Talent \\ V4 \\ SearchJobsResponse

## 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` Job resource that matches the specified [SearchJobsRequest](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.SearchJobsRequest). |
| `↳ job_summary` | `string` A summary of the job with core information that's displayed on the search results listing page. |
| `↳ job_title_snippet` | `string` Contains snippets of text from the [Job.title](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getTitle__) field most closely matching a search query's keywords, if available. The matching query keywords are enclosed in HTML bold tags. |
| `↳ search_text_snippet` | `string` Contains snippets of text from the [Job.description](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getDescription__) and similar fields that most closely match a search query's keywords, if available. All HTML tags in the original fields are stripped when returned in this field, and matching query keywords are enclosed in HTML bold tags. |
| `↳ commute_info` | `https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.SearchJobsResponse.CommuteInfo` Commute information which is generated based on specified [CommuteFilter](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.CommuteFilter). |

### getJob

Job resource that matches the specified
[SearchJobsRequest](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.SearchJobsRequest).

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

### hasJob

### clearJob

### setJob

Job resource that matches the specified
[SearchJobsRequest](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.SearchJobsRequest).

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

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

### getJobSummary

A summary of the job with core information that's displayed on the search
results listing page.

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

### setJobSummary

A summary of the job with core information that's displayed on the search
results listing page.

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

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

### getJobTitleSnippet

Contains snippets of text from the
[Job.title](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getTitle__) field most closely matching
a search query's keywords, if available. The matching query keywords are
enclosed in HTML bold tags.

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

### setJobTitleSnippet

Contains snippets of text from the
[Job.title](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getTitle__) field most closely matching
a search query's keywords, if available. The matching query keywords are
enclosed in HTML bold tags.

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

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

### getSearchTextSnippet

Contains snippets of text from the
[Job.description](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getDescription__) and similar
fields that most closely match a search query's keywords, if available.

All HTML tags in the original fields are stripped when returned in this
field, and matching query keywords are enclosed in HTML bold tags.

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

### setSearchTextSnippet

Contains snippets of text from the
[Job.description](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getDescription__) and similar
fields that most closely match a search query's keywords, if available.

All HTML tags in the original fields are stripped when returned in this
field, and matching query keywords are enclosed in HTML bold tags.

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

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

### getCommuteInfo

Commute information which is generated based on specified
[CommuteFilter](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.CommuteFilter).

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

### hasCommuteInfo

### clearCommuteInfo

### setCommuteInfo

Commute information which is generated based on specified
[CommuteFilter](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.CommuteFilter).

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

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