[SDK reference](../../index.md) / [Models](../index.md) / [Iot](index.md)

# DeviceRoute

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.Iot`  

A route: messages whose topic (after `dev/{deviceId}/`) matches `topicFilter` are delivered to the target (W60; ADR-0810 section 3).

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `Annotations` | `Models.Iot.DeviceRoute_annotations?` | `annotations` | At most 256 KiB in all; never policy input. |
| `CreateTime` | `DateTimeOffset?` | `createTime` | The createTime property |
| `DeleteTime` | `DateTimeOffset?` | `deleteTime` | The deleteTime property |
| `DeliveredCount` | `long?` | `deliveredCount` | Messages delivered through the route. |
| `Description` | `string?` | `description` | Human-readable description. |
| `DisplayName` | `string?` | `displayName` | Up to 63 characters. |
| `Enabled` | `bool?` | `enabled` | False pauses delivery without deleting the route (default true). |
| `Etag` | `string?` | `etag` | "{generation}"; send it back in If-Match. |
| `Labels` | `Models.Iot.DeviceRoute_labels?` | `labels` | At most 64. |
| `Name` | `string?` | `name` | The resource name, for example projects/p/locations/l/instances/i. |
| `PurgeTime` | `DateTimeOffset?` | `purgeTime` | The purgeTime property |
| `Reconciling` | `bool?` | `reconciling` | True while the platform works toward the spec. |
| `Registry` | `string?` | `registry` | The registry's resource name. |
| `State` | `Models.Iot.DeviceRouteState?` | `state` | Route lifecycle states. |
| `Target` | `string?` | `target` | The target: a resource name for QUEUE and WEBHOOK, a bucket ID for BUCKET, a table name for TABLE, a metric name for METRICS. |
| `TargetKind` | `Models.Iot.RouteTargetKind?` | `targetKind` | The kind of target. |
| `TopicFilter` | `string?` | `topicFilter` | An MQTT topic filter relative to the device's namespace (`up/#`, `up/temperature`, `up/+/alarm`); default `up/#`. Uplink only. |
| `Uid` | `string?` | `uid` | UUIDv7, never reused. |
| `UpdateTime` | `DateTimeOffset?` | `updateTime` | The updateTime property |
