...
Go to the Google Cloud console’s Registries page. Click the gateway’s registry ID.
On the Registry details page, click Gateways and Add gateway to create a new gateway.
Enter a Gateway gateway ID that describes the gateway and helps you identify it (this field can't be edited later).
For Gateway communication, select Allow or Block. The latter allows you to block communication when needed, such as when a gateway or one or more devices bound to it are not functioning properly. You’ll most likely want to allow communication when creating the gateway. When a gateway is blocked, all devices bound to it are blocked from communicating with ClearBlade IoT Core.
Select the Public public key format that matches this gateway’s key pair. Paste the certificate or key in the Public key value field. You can also set the key’s expiration date.
Select the authentication method to use for devices bound to the gateway.
Use the Key and Value fields to add optional gateway metadata, such as a serial number.
Under Stackdriver Logging, select the gateway’s activity log level. The gateway's log level overrides its registry's log level.
Click Create to create the gateway or Update to save changes to an existing gateway.
...
With ClearBlade IoT Core, you can control a gateway by modifying its configuration, like any other device. See Configuring Devicesdevices to learn how to configure a gateway over the MQTT or HTTP bridge.
...
Console
Go to the Registries page. Click the gateway’s registry ID.
Click Gateways, then click the gateway's ID.
On the Gateway details page, click Bound devices.
API
Use the Devices devices list method and specify a gateway ID to list all devices bound to the gateway.
...
Go to the Registries page.
Click the gateway’s registry ID.
On the Registry details page, click Gateways to see a list of the registry’s gateways.
API
Use the Device device list method to list a registry’s gateways.
...
After unbinding the device from all gateways it's bound to, use the Device device delete method to delete the device.
...
After unbinding all devices from the gateway, use the Device device delete method to delete the gateway, specifying the gateway’s ID you want to delete.
...