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

An event issued when an end user interacts with the application that
implements Cloud Talent Solution. Providing this information improves the
quality of results for the API clients, enabling the
service to perform optimally. The number of events sent must be consistent
with other calls, such as job searches, issued to the service by the client.

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

## Namespace

Google \\ Cloud \\ Talent \\ V4

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ request_id` | `string` Strongly recommended for the best service experience. A unique ID generated in the API responses. It can be found in [ResponseMetadata.request_id](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.ResponseMetadata#_Google_Cloud_Talent_V4_ResponseMetadata__getRequestId__). |
| `↳ event_id` | `string` Required. A unique identifier, generated by the client application. |
| `↳ create_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Required. The timestamp of the event. |
| `↳ job_event` | `https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.JobEvent` An event issued when a job seeker interacts with the application that implements Cloud Talent Solution. |
| `↳ event_notes` | `string` Notes about the event provided by recruiters or other users, for example, feedback on why a job was bookmarked. |

### getRequestId

Strongly recommended for the best service experience.

A unique ID generated in the API responses. It can be found in
[ResponseMetadata.request_id](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.ResponseMetadata#_Google_Cloud_Talent_V4_ResponseMetadata__getRequestId__).

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

### setRequestId

Strongly recommended for the best service experience.

A unique ID generated in the API responses. It can be found in
[ResponseMetadata.request_id](https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.ResponseMetadata#_Google_Cloud_Talent_V4_ResponseMetadata__getRequestId__).

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

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

### getEventId

Required. A unique identifier, generated by the client application.

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

### setEventId

Required. A unique identifier, generated by the client application.

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

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

### getCreateTime

Required. The timestamp of the event.

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

### hasCreateTime

### clearCreateTime

### setCreateTime

Required. The timestamp of the event.

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

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

### getJobEvent

An event issued when a job seeker interacts with the application that
implements Cloud Talent Solution.

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

### hasJobEvent

### setJobEvent

An event issued when a job seeker interacts with the application that
implements Cloud Talent Solution.

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

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

### getEventNotes

Notes about the event provided by recruiters or other users, for example,
feedback on why a job was bookmarked.

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

### setEventNotes

Notes about the event provided by recruiters or other users, for example,
feedback on why a job was bookmarked.

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

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

### getEvent

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