Skip to content

Commit c23ea2d

Browse files
authored
feat(iot): add support for hub-id in an UpdateDeviceRequest #554
1 parent d6f50c1 commit c23ea2d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

api/iot/v1beta1/iot_sdk.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1480,6 +1480,8 @@ type UpdateDeviceRequest struct {
14801480
AllowInsecure *bool `json:"allow_insecure"`
14811481
// MessageFilters: filter-sets to restrict the topics the device can publish/subscribe to
14821482
MessageFilters *DeviceMessageFilters `json:"message_filters"`
1483+
// HubID: change Hub for this device, additional fees may apply, see IoT Hub pricing
1484+
HubID *string `json:"hub_id"`
14831485
}
14841486

14851487
// UpdateDevice: update a device

0 commit comments

Comments
 (0)