Send feedback Cloud IoT Core Documentation Docs REST Resource: projects.locations.registries.devices Resource: Device Methods Resource: Device The device resource. Methods getConfig Gets the configuration of a device. publishEvent Publishes a telemetry event for a device. setState Sets the state of a device. Was this page helpful? Let us know how we did: Send feedback Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License, and code samples are licensed under the Apache 2.0 License. For details, see our Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Last updated March 1, 2019.