google-cloud-iot overview (2.1.7)

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:


 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