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

The report event request.

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

## Namespace

Google \\ Cloud \\ Talent \\ V4

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. Resource name of the tenant under which the event is created. The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar". |
| `↳ client_event` | `https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.ClientEvent` Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution. |

### getParent

Required. Resource name of the tenant under which the event is created.

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

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

### setParent

Required. Resource name of the tenant under which the event 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` |   |

### getClientEvent

Required. Events issued when end user interacts with customer's application
that uses Cloud Talent Solution.

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

### hasClientEvent

### clearClientEvent

### setClientEvent

Required. Events issued when end user interacts with customer's application
that uses Cloud Talent Solution.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. Resource name of the tenant under which the event is created. The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar". Please see EventServiceClient::tenantName() for help formatting this field. |
| `clientEvent` | `https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.ClientEvent` Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution. |

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