Interface protos.google.cloud.iot.v1.IDevice (5.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
Package
@google-cloud/iot
Properties
blocked
blocked
?:
(
boolean
|
null
);
config
config
?:
(
google
.
cloud
.
iot
.
v1
.
IDeviceConfig
|
null
);
credentials
credentials
?:
(
google
.
cloud
.
iot
.
v1
.
IDeviceCredential
[]
|
null
);
gatewayConfig
gatewayConfig
?:
(
google
.
cloud
.
iot
.
v1
.
IGatewayConfig
|
null
);
id
lastConfigAckTime
lastConfigAckTime
?:
(
google
.
protobuf
.
ITimestamp
|
null
);
lastConfigSendTime
lastConfigSendTime
?:
(
google
.
protobuf
.
ITimestamp
|
null
);
Device lastConfigSendTime
lastErrorStatus
lastErrorStatus
?:
(
google
.
rpc
.
IStatus
|
null
);
lastErrorTime
lastErrorTime
?:
(
google
.
protobuf
.
ITimestamp
|
null
);
lastEventTime
lastEventTime
?:
(
google
.
protobuf
.
ITimestamp
|
null
);
lastHeartbeatTime
lastHeartbeatTime
?:
(
google
.
protobuf
.
ITimestamp
|
null
);
lastStateTime
lastStateTime
?:
(
google
.
protobuf
.
ITimestamp
|
null
);
logLevel
logLevel
?:
(
google
.
cloud
.
iot
.
v1
.
LogLevel
|
keyof
typeof
google
.
cloud
.
iot
.
v1
.
LogLevel
|
null
);
metadata
?:
({
[
k
:
string
]
:
string
}
|
null
);
name
name
?:
(
string
|
null
);
numId
numId
?:
(
number
|
Long
|
string
|
null
);
state
state
?:
(
google
.
cloud
.
iot
.
v1
.
IDeviceState
|
null
);
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Interface protos.google.cloud.iot.v1.IDevice (5.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [5.1.0 (latest)](/nodejs/docs/reference/iot/latest/iot/protos.google.cloud.iot.v1.idevice)\n- [4.0.0](/nodejs/docs/reference/iot/4.0.0/iot/protos.google.cloud.iot.v1.idevice)\n- [3.2.2](/nodejs/docs/reference/iot/3.2.2/iot/protos.google.cloud.iot.v1.idevice)\n- [3.1.2](/nodejs/docs/reference/iot/3.1.2/iot/protos.google.cloud.iot.v1.idevice)\n- [2.5.1](/nodejs/docs/reference/iot/2.5.1/iot/protos.google.cloud.iot.v1.idevice)\n- [2.4.0](/nodejs/docs/reference/iot/2.4.0/iot/protos.google.cloud.iot.v1.idevice)\n- [2.3.6](/nodejs/docs/reference/iot/2.3.6/iot/protos.google.cloud.iot.v1.idevice)\n- [2.2.0](/nodejs/docs/reference/iot/2.2.0/iot/protos.google.cloud.iot.v1.idevice) \nProperties of a Device.\n\nPackage\n-------\n\n[@google-cloud/iot](../overview.html)\n\nProperties\n----------\n\n### blocked\n\n blocked?: (boolean|null);\n\nDevice blocked\n\n### config\n\n config?: (google.cloud.iot.v1.IDeviceConfig|null);\n\nDevice config\n\n### credentials\n\n credentials?: (google.cloud.iot.v1.IDeviceCredential[]|null);\n\nDevice credentials\n\n### gatewayConfig\n\n gatewayConfig?: (google.cloud.iot.v1.IGatewayConfig|null);\n\nDevice gatewayConfig\n\n### id\n\n id?: (string|null);\n\nDevice id\n\n### lastConfigAckTime\n\n lastConfigAckTime?: (google.protobuf.ITimestamp|null);\n\nDevice lastConfigAckTime\n\n### lastConfigSendTime\n\n lastConfigSendTime?: (google.protobuf.ITimestamp|null);\n\nDevice lastConfigSendTime\n\n### lastErrorStatus\n\n lastErrorStatus?: (google.rpc.IStatus|null);\n\nDevice lastErrorStatus\n\n### lastErrorTime\n\n lastErrorTime?: (google.protobuf.ITimestamp|null);\n\nDevice lastErrorTime\n\n### lastEventTime\n\n lastEventTime?: (google.protobuf.ITimestamp|null);\n\nDevice lastEventTime\n\n### lastHeartbeatTime\n\n lastHeartbeatTime?: (google.protobuf.ITimestamp|null);\n\nDevice lastHeartbeatTime\n\n### lastStateTime\n\n lastStateTime?: (google.protobuf.ITimestamp|null);\n\nDevice lastStateTime\n\n### logLevel\n\n logLevel?: (google.cloud.iot.v1.LogLevel|keyof typeof google.cloud.iot.v1.LogLevel|null);\n\nDevice logLevel\n\n### metadata\n\n metadata?: ({ [k: string]: string }|null);\n\nDevice metadata\n\n### name\n\n name?: (string|null);\n\nDevice name\n\n### numId\n\n numId?: (number|Long|string|null);\n\nDevice numId\n\n### state\n\n state?: (google.cloud.iot.v1.IDeviceState|null);\n\nDevice state"]]