SDK reference / Models / Iot

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

NameTypeJSON nameDescription
AnnotationsModels.Iot.DeviceRoute_annotations?annotationsAt most 256 KiB in all; never policy input.
CreateTimeDateTimeOffset?createTimeThe createTime property
DeleteTimeDateTimeOffset?deleteTimeThe deleteTime property
DeliveredCountlong?deliveredCountMessages delivered through the route.
Descriptionstring?descriptionHuman-readable description.
DisplayNamestring?displayNameUp to 63 characters.
Enabledbool?enabledFalse pauses delivery without deleting the route (default true).
Etagstring?etag"{generation}"; send it back in If-Match.
LabelsModels.Iot.DeviceRoute_labels?labelsAt most 64.
Namestring?nameThe resource name, for example projects/p/locations/l/instances/i.
PurgeTimeDateTimeOffset?purgeTimeThe purgeTime property
Reconcilingbool?reconcilingTrue while the platform works toward the spec.
Registrystring?registryThe registry's resource name.
StateModels.Iot.DeviceRouteState?stateRoute lifecycle states.
Targetstring?targetThe target: a resource name for QUEUE and WEBHOOK, a bucket ID for BUCKET, a table name for TABLE, a metric name for METRICS.
TargetKindModels.Iot.RouteTargetKind?targetKindThe kind of target.
TopicFilterstring?topicFilterAn MQTT topic filter relative to the device's namespace (`up/#`, `up/temperature`, `up/+/alarm`); default `up/#`. Uplink only.
Uidstring?uidUUIDv7, never reused.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property