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 WebWidgetConfig.

Message for configuration for the web widget.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ modality` | `int` Optional. The modality of the web widget. |
| `↳ theme` | `int` Optional. The theme of the web widget. |
| `↳ web_widget_title` | `string` Optional. The title of the web widget. |
| `↳ security_settings` | `WebWidgetConfig\SecuritySettings` Optional. The security settings of the web widget. |

### getModality

Optional. The modality of the web widget.

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

### setModality

Optional. The modality of the web widget.

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

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

### getTheme

Optional. The theme of the web widget.

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

### setTheme

Optional. The theme of the web widget.

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

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

### getWebWidgetTitle

Optional. The title of the web widget.

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

### setWebWidgetTitle

Optional. The title of the web widget.

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

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

### getSecuritySettings

Optional. The security settings of the web widget.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `WebWidgetConfig\SecuritySettings|null` |   |

### hasSecuritySettings

### clearSecuritySettings

### setSecuritySettings

Optional. The security settings of the web widget.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `WebWidgetConfig\SecuritySettings` |

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