Google Cloud IoT Core is being retired on August 16, 2023. Contact your Google Cloud account team for more information.

Cloud IoT API

Registers and manages IoT (Internet of Things) devices that connect to the Google Cloud Platform.


The Service name is needed to create RPC client stubs.

CreateDevice Creates a device in a device registry.
CreateDeviceRegistry Creates a device registry that contains devices.
DeleteDevice Deletes a device.
DeleteDeviceRegistry Deletes a device registry configuration.
GetDevice Gets details about a device.
GetDeviceRegistry Gets a device registry configuration.
GetIamPolicy Gets the access control policy for a resource.
ListDeviceConfigVersions Lists the last few versions of the device configuration in descending order (i.e.: newest first).
ListDeviceRegistries Lists device registries.
ListDeviceStates Lists the last few versions of the device state in descending order (i.e.: newest first).
ListDevices List devices in a device registry.
ModifyCloudToDeviceConfig Modifies the configuration for the device, which is eventually sent from the Cloud IoT Core servers.
SendCommandToDevice Sends a command to the specified device.
SetIamPolicy Sets the access control policy on the specified resource.
TestIamPermissions Returns permissions that a caller has on the specified resource.
UpdateDevice Updates a device.
UpdateDeviceRegistry Updates a device registry configuration.