# Google Cloud Data Catalog V1 Client - Class Person (2.4.2)

2.4.2 (latest) 2.4.1 2.3.2 2.2.4 2.1.0 2.0.2 1.10.3 1.9.1 1.8.2 1.7.1 1.6.0 1.5.1 1.4.2 1.3.9 Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class Person.

A contact person for the entry.

Generated from protobuf message `google.cloud.datacatalog.v1.Contacts.Person`

## Namespace

Google \\ Cloud \\ DataCatalog \\ V1 \\ Contacts

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ designation` | `string` Designation of the person, for example, Data Steward. |
| `↳ email` | `string` Email of the person in the format of `john.doe\@xyz`, `<john.doe\@xyz>`, or `John Doe<john.doe\@xyz>`. |

### getDesignation

Designation of the person, for example, Data Steward.

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

### setDesignation

Designation of the person, for example, Data Steward.

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

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

### getEmail

Email of the person in the format of `john.doe\@xyz`,
`<john.doe\@xyz>`, or `John Doe<john.doe\@xyz>`.

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

### setEmail

Email of the person in the format of `john.doe\@xyz`,
`<john.doe\@xyz>`, or `John Doe<john.doe\@xyz>`.

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

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