# Google Cloud Dialogflow V2 Client - Class HumanAgentAssistantConfig (2.4.0)

2.4.0 (latest) 2.3.1 2.2.1 2.1.2 2.0.1 1.17.2 1.16.0 1.15.1 1.14.0 1.13.0 1.12.3 1.11.0 1.10.2 1.9.0 1.8.0 1.7.2 1.6.0 1.5.0 1.4.0 1.3.2 1.2.0 1.1.1 1.0.1 Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class HumanAgentAssistantConfig.

Defines the Human Agent Assist to connect to a conversation.

Generated from protobuf message `google.cloud.dialogflow.v2.HumanAgentAssistantConfig`

## Namespace

Google \\ Cloud \\ Dialogflow \\ V2

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ notification_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.NotificationConfig` Pub/Sub topic on which to publish new agent assistant events. |
| `↳ human_agent_suggestion_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.HumanAgentAssistantConfig.SuggestionConfig` Configuration for agent assistance of human agent participant. |
| `↳ end_user_suggestion_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.HumanAgentAssistantConfig.SuggestionConfig` Configuration for agent assistance of end user participant. Currently, this feature is not general available, please contact Google to get access. |
| `↳ message_analysis_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.HumanAgentAssistantConfig.MessageAnalysisConfig` Configuration for message analysis. |

### getNotificationConfig

Pub/Sub topic on which to publish new agent assistant events.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.NotificationConfig|null` |   |

### hasNotificationConfig

### clearNotificationConfig

### setNotificationConfig

Pub/Sub topic on which to publish new agent assistant events.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.NotificationConfig` |

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

### getHumanAgentSuggestionConfig

Configuration for agent assistance of human agent participant.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.HumanAgentAssistantConfig.SuggestionConfig|null` |   |

### hasHumanAgentSuggestionConfig

### clearHumanAgentSuggestionConfig

### setHumanAgentSuggestionConfig

Configuration for agent assistance of human agent participant.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.HumanAgentAssistantConfig.SuggestionConfig` |

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

### getEndUserSuggestionConfig

Configuration for agent assistance of end user participant.

Currently, this feature is not general available, please contact Google
to get access.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.HumanAgentAssistantConfig.SuggestionConfig|null` |   |

### hasEndUserSuggestionConfig

### clearEndUserSuggestionConfig

### setEndUserSuggestionConfig

Configuration for agent assistance of end user participant.

Currently, this feature is not general available, please contact Google
to get access.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.HumanAgentAssistantConfig.SuggestionConfig` |

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

### getMessageAnalysisConfig

Configuration for message analysis.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.HumanAgentAssistantConfig.MessageAnalysisConfig|null` |   |

### hasMessageAnalysisConfig

### clearMessageAnalysisConfig

### setMessageAnalysisConfig

Configuration for message analysis.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.HumanAgentAssistantConfig.MessageAnalysisConfig` |

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