# Class EventNotificationConfig (2.9.2)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.9.2 (latest)](https://docs.cloud.google.com/python/docs/reference/cloudiot/latest/google.cloud.iot_v1.types.EventNotificationConfig)
- [2.9.1](https://docs.cloud.google.com/python/docs/reference/cloudiot/2.9.1/google.cloud.iot_v1.types.EventNotificationConfig)
- [2.8.1](https://docs.cloud.google.com/python/docs/reference/cloudiot/2.8.1/google.cloud.iot_v1.types.EventNotificationConfig)
- [2.7.0](https://docs.cloud.google.com/python/docs/reference/cloudiot/2.7.0/google.cloud.iot_v1.types.EventNotificationConfig)
- [2.6.4](https://docs.cloud.google.com/python/docs/reference/cloudiot/2.6.4/google.cloud.iot_v1.types.EventNotificationConfig)
- [2.5.1](https://docs.cloud.google.com/python/docs/reference/cloudiot/2.5.1/google.cloud.iot_v1.types.EventNotificationConfig)
- [2.4.1](https://docs.cloud.google.com/python/docs/reference/cloudiot/2.4.1/google.cloud.iot_v1.types.EventNotificationConfig)
- [2.3.0](https://docs.cloud.google.com/python/docs/reference/cloudiot/2.3.0/google.cloud.iot_v1.types.EventNotificationConfig)
- [2.2.1](https://docs.cloud.google.com/python/docs/reference/cloudiot/2.2.1/google.cloud.iot_v1.types.EventNotificationConfig)
- [2.1.0](https://docs.cloud.google.com/python/docs/reference/cloudiot/2.1.0/google.cloud.iot_v1.types.EventNotificationConfig)
- [2.0.2](https://docs.cloud.google.com/python/docs/reference/cloudiot/2.0.2/google.cloud.iot_v1.types.EventNotificationConfig)
- [1.0.2](https://docs.cloud.google.com/python/docs/reference/cloudiot/1.0.2/google.cloud.iot_v1.types.EventNotificationConfig)
- [0.3.3](https://docs.cloud.google.com/python/docs/reference/cloudiot/0.3.3/google.cloud.iot_v1.types.EventNotificationConfig)

    EventNotificationConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The configuration for forwarding telemetry events.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `subfolder_matches` | `str` If the subfolder name matches this string exactly, this configuration will be used. The string must not include the leading '/' character. If empty, all strings are matched. This field is used only for telemetry events; subfolders are not supported for state changes. |
| `pubsub_topic_name` | `str` A Cloud Pub/Sub topic name. For example, `projects/myProject/topics/deviceEvents`. |