0.6.0 (latest) 0.5.0 0.4.4 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Ces V1 Client class PersonaProperty.

Represents the persona property of a channel.

Generated from protobuf message `google.cloud.ces.v1.ChannelProfile.PersonaProperty`

## Namespace

Google \\ Cloud \\ Ces \\ V1 \\ ChannelProfile

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ persona` | `int` Optional. The persona of the channel. |

### getPersona

Optional. The persona of the channel.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [Persona](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.ChannelProfile.PersonaProperty.Persona.md.txt). |

### setPersona

Optional. The persona of the channel.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [Persona](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.ChannelProfile.PersonaProperty.Persona.md.txt). |

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