# Cloud IoT V1 API - Class Google::Cloud::Iot::V1::EventNotificationConfig (v0.9.2)

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

- [0.9.2 (latest)](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/latest/Google-Cloud-Iot-V1-EventNotificationConfig)
- [0.9.1](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.9.1/Google-Cloud-Iot-V1-EventNotificationConfig)
- [0.8.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.8.0/Google-Cloud-Iot-V1-EventNotificationConfig)
- [0.7.1](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.7.1/Google-Cloud-Iot-V1-EventNotificationConfig)
- [0.6.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.6.0/Google-Cloud-Iot-V1-EventNotificationConfig)
- [0.5.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.5.0/Google-Cloud-Iot-V1-EventNotificationConfig)
- [0.4.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.4.0/Google-Cloud-Iot-V1-EventNotificationConfig)
- [0.3.5](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.3.5/Google-Cloud-Iot-V1-EventNotificationConfig)
Reference documentation and code samples for the Cloud IoT V1 API class Google::Cloud::Iot::V1::EventNotificationConfig.

The configuration for forwarding telemetry events.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #pubsub_topic_name

    def pubsub_topic_name() -> ::String

**Returns**

- (::String) --- A Cloud Pub/Sub topic name. For example, `projects/myProject/topics/deviceEvents`.

### #pubsub_topic_name=

    def pubsub_topic_name=(value) -> ::String

**Parameter**

- **value** (::String) --- A Cloud Pub/Sub topic name. For example, `projects/myProject/topics/deviceEvents`.
**Returns**

- (::String) --- A Cloud Pub/Sub topic name. For example, `projects/myProject/topics/deviceEvents`.

### #subfolder_matches

    def subfolder_matches() -> ::String

**Returns**

- (::String) --- 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.

### #subfolder_matches=

    def subfolder_matches=(value) -> ::String

**Parameter**

- **value** (::String) --- 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.
**Returns**

- (::String) --- 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.