REST Resource: projects.locations.registries.devices.configVersions

Resource: DeviceConfig

The device configuration. Eventually delivered to devices.

JSON representation
{
  "version": string,
  "cloudUpdateTime": string,
  "deviceAckTime": string,
  "binaryData": string,
}
Fields
version

string (int64 format)

[Output only] The version of this update. The version number is assigned by the server, and is always greater than 0 after device creation. The version must be 0 on the devices.create request if a config is specified; the response of devices.create will always have a value of 1.

cloudUpdateTime

string (Timestamp format)

[Output only] The time at which this configuration version was updated in Cloud IoT Core. This timestamp is set by the server.

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 at which Cloud IoT Core received the acknowledgment from the device, indicating that the device has received this configuration version. If this field is not present, the device has not yet acknowledged that it received this version. Note that when the config was sent to the device, many config versions may have been available in Cloud IoT Core while the device was disconnected, and on connection, only the latest version is sent to the device. Some versions may never be sent to the device, and therefore are never acknowledged. This timestamp is set by Cloud IoT Core.

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

list

Lists the last few versions of the device configuration in descending order (i.e.: newest first).
Was this page helpful? Let us know how we did:

Send feedback about...

Google Cloud Internet of Things Core