# Google Cloud Dialogflow Cx V3 Client - Class WebhookConfig (0.11.1)

0.11.1 (latest) 0.11.0 0.10.2 0.9.2 0.8.1 0.7.2 0.6.0 0.5.2 0.4.1 0.3.4 0.2.1 0.1.1 Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class WebhookConfig.

Configuration for webhooks.

Generated from protobuf message `google.cloud.dialogflow.cx.v3.Environment.WebhookConfig`

## Namespace

Google \\ Cloud \\ Dialogflow \\ Cx \\ V3 \\ Environment

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ webhook_overrides` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.Webhook>` The list of webhooks to override for the agent environment. The webhook must exist in the agent. You can override fields in [`generic_web_service`](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.Webhook#_Google_Cloud_Dialogflow_Cx_V3_Webhook__getGenericWebService__) and [`service_directory`](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.Webhook#_Google_Cloud_Dialogflow_Cx_V3_Webhook__getServiceDirectory__). |

### getWebhookOverrides

The list of webhooks to override for the agent environment. The webhook
must exist in the agent. You can override fields in
[`generic_web_service`](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.Webhook#_Google_Cloud_Dialogflow_Cx_V3_Webhook__getGenericWebService__)
and
[`service_directory`](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.Webhook#_Google_Cloud_Dialogflow_Cx_V3_Webhook__getServiceDirectory__).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.Webhook>` |   |

### setWebhookOverrides

The list of webhooks to override for the agent environment. The webhook
must exist in the agent. You can override fields in
[`generic_web_service`](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.Webhook#_Google_Cloud_Dialogflow_Cx_V3_Webhook__getGenericWebService__)
and
[`service_directory`](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.Webhook#_Google_Cloud_Dialogflow_Cx_V3_Webhook__getServiceDirectory__).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.Webhook>` |

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