...
Fields | |
---|---|
|
The user-defined device identifier. The device ID must be unique within a device registry. Permanent identifier for your device. 3-255 characters. Start with a letter. You can also include numbers and these characters: + . % - _ ~ |
|
The resource path name. For example, |
|
[Output only] The device’s server-defined unique numeric ID. This is a more compact way to identify devices and is globally unique. |
| object(DeviceCredential) The credentials used to authenticate this device. Multiple device credentials can be bound to this device to allow credential rotation without interruption. At most, three credentials can be bound to a single device at a time. When new credentials are added to a device, they are verified against the registry credentials. For details, see the |
|
[Output only] The last time an MQTT A timestamp in RFC3339 UTC Zulu format, accurate to nanoseconds. Example: |
|
[Output only] The last time a telemetry event was received. Timestamps are periodically collected and written to storage; they may be stale by a few minutes. A timestamp in RFC3339 UTC Zulu format, accurate to nanoseconds. Example: |
|
[Output only] The last time a state event was received. Timestamps are periodically collected and written to storage; they may be stale by a few minutes. A timestamp in RFC3339 UTC Zulu format, accurate to nanoseconds. Example: |
|
[Output only] The last time a cloud-to-device config version acknowledgment was received from the device. This field is only for configurations sent through MQTT. A timestamp in RFC3339 UTC Zulu format, accurate to nanoseconds. Example: |
|
[Output only] The last time a cloud-to-device config version was sent to the device. A timestamp in RFC3339 UTC Zulu format, accurate to nanoseconds. Example: |
|
If a device is blocked, connections or requests from this device will fail. Can be used to temporarily prevent the device from connecting if, for example, the sensor is generating bad data and needs maintenance. |
|
[Output only] The time the most recent error occurred, such as a failure to publish to Cloud Pub/Sub. This field is the timestamp of 'lastErrorStatus.' A timestamp in RFC3339 UTC Zulu format, accurate to nanoseconds. Example: |
| object(Status) [Output only] The error message of the most recent error, such as a failure to publish to Cloud Pub/Sub. ‘lastErrorTime' is this field’s timestamp. If no errors have occurred, this field has an empty message, and the status code 0 == OK. Otherwise, this field is expected to have a status code other than OK. |
| object(DeviceConfig) The most recent device configuration, which is eventually sent from ClearBlade IoT Core to the device. If not present on creation, the configuration will be initialized with an empty payload and |
| object(DeviceState) [Output only] The state most recently received from the device. If no state has been reported, this field is not present. |
| enum(LogLevel) The logging verbosity for device activity. If unspecified, DeviceRegistry.log_level will be used. |
|
The metadata key-value pairs assigned to the device. This metadata is not interpreted or indexed by ClearBlade IoT Core. It can be used to add contextual information for the device. Keys must conform to the regular expression [a-zA-Z][a-zA-Z0-9-_.+~%]+ and be less than 128 bytes in length. Values are free-form strings. Each value must be less than or equal to 32 KB in size. The total size of all keys and values must be less than 256 KB, and the maximum number of key-value pairs is 500. An object containing a list of |
| object(GatewayConfig) Gateway-related configuration and state. |
...
Fields | |
---|---|
|
[Optional] The time at which this credential becomes invalid. This credential will be ignored for new client authentication requests after this timestamp; however, it will not be automatically deleted. A timestamp in RFC3339 UTC Zulu format, accurate to nanoseconds. Example: |
| object(PublicKeyCredential) A public key used to verify the signature of JSON Web Tokens (JWTs). When adding a new device credential, via device creation or modifications, this public key credential may be required to be signed by one of the registry-level certificates. More specifically, if the registry contains at least one certificate, one of them must sign any new device credential. As a result, only X.509 certificates are accepted as device credentials when the registry contains certificates. However, self-signed certificates and public keys will be accepted if the registry does not contain a certificate. New device credentials must be different from every registry-level certificate. |
...
JSON representation | |||
---|---|---|---|
|
Fields | |
---|---|
| enum(PublicKeyFormat) The key format. |
|
The key data. |
...
JSON representation | |||
---|---|---|---|
|
Fields | |
---|---|
| enum(GatewayType) Indicates whether the device is a gateway. |
| enum(GatewayAuthMethod) Indicates how to authorize and authenticate devices to access the gateway. |
|
[Output only] The gateway ID the device accessed most recently. |
|
[Output only] The most recent time the device accessed the gateway specified in A timestamp in RFC3339 UTC Zulu format, accurate to nanoseconds. Example: |
...