projects.locations.registries.devices.configVersions

Resource: DeviceConfig

The device configuration eventually delivered to devices.

JSON representation

JSON representation

{ "version": string, "cloudUpdateTime": string, "deviceAckTime": string, "binaryData": string }

Fields

Fields

version

string (int64 format)

[Output only] This update’s version. After device creation, the server assigns the version number greater than 0. The version must be 0 on the devices.create request if a config is specified; the devices.create response will always have a 1 value.

cloudUpdateTime

string (Timestamp format)

[Output only] The time this configuration version was updated in ClearBlade IoT Core. The server sets this timestamp.

A timestamp in RFC3339 UTC Zulu format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".

deviceAckTime

string (Timestamp format)

[Output only] The time ClearBlade IoT Core received the device’s acknowledgment, indicating that the device received this configuration version.

If this field is present, the device has yet to acknowledge receiving this version. When the config was sent to the device, many config versions may have been available in ClearBlade IoT Core while the device was disconnected. On connection, only the latest version was sent to the device. Some versions may never be sent to the device and are never acknowledged. ClearBlade IoT Core sets this timestamp.

A timestamp in RFC3339 UTC Zulu format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".

binaryData

string (bytes format)

The device configuration data.

A base64-encoded string.

Methods

Methods

list

Lists the device configuration’s last few versions in descending order (i.e., newest first).