google-cloud-iot overview (2.2.0)

com.google.cloud.iot.v1

The interfaces provided are listed below, along with usage samples.

DeviceManagerClient

Service Description: Internet of Things (IoT) service. Securely connect and manage IoT devices.

Sample for DeviceManagerClient:


 // This snippet has been automatically generated for illustrative purposes only.
 // It may require modifications to work in your environment.
 try (DeviceManagerClient deviceManagerClient = DeviceManagerClient.create()) {
   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
   DeviceRegistry deviceRegistry = DeviceRegistry.newBuilder().build();
   DeviceRegistry response = deviceManagerClient.createDeviceRegistry(parent, deviceRegistry);
 }
 

com.google.cloud.iot.v1.stub