googleapis.com

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

🔑 oauth2 16 endpoints analyticsmedia
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (10 total)

mcp-toolbox-sdk-python ✓ Official
pip install mcp-toolbox-sdk-python
python-storage ✓ Official
pip install python-storage
python-aiplatform ✓ Official
pip install python-aiplatform
python-genai ✓ Official
pip install python-genai
js-genai ✓ Official
npm install js-genai
go-genai ✓ Official
go get github.com/googleapis/go-genai
sdk-platform-java ✓ Official
# Maven: see https://github.com/googleapis/sdk-platform-java
java-genai ✓ Official
# Maven: see https://github.com/googleapis/java-genai
dotnet-genai ✓ Official
# See https://github.com/googleapis/dotnet-genai
gax-java ✓ Official
# See https://github.com/googleapis/gax-java
curl examples
Gets details about a device.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://cloudiot.googleapis.com/v1/{name}
Lists the last few versions of the device state in descending order (i.e.: ne…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://cloudiot.googleapis.com/v1/{name}/states
List devices in a device registry.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://cloudiot.googleapis.com/v1/{parent}/devices
Endpoints (16 total)
GET
/v1/{name}
Gets details about a device.
GET
/v1/{name}/states
Lists the last few versions of the device state in descending order (i.e.: ne…
GET
/v1/{parent}/devices
List devices in a device registry.
GET
/v1/{parent}/registries
Lists device registries.
GET
/v1/{name}/configVersions
Lists the last few versions of the device configuration in descending order (…
POST
/v1/{parent}/devices
Creates a device in a device registry.
POST
/v1/{parent}/registries
Creates a device registry that contains devices.
POST
/v1/{resource}:getIamPolicy
Gets the access control policy for a resource. Returns an empty policy if the…
POST
/v1/{resource}:setIamPolicy
Sets the access control policy on the specified resource. Replaces any existi…
POST
/v1/{name}:sendCommandToDevice
Sends a command to the specified device. In order for a device to be able to …
POST
/v1/{parent}:bindDeviceToGateway
Associates the device with the gateway.
POST
/v1/{resource}:testIamPermissions
Returns permissions that a caller has on the specified resource. If the resou…
At a glance
Total SDKs10
Languages6
Endpoints16
Authoauth2
Categories2
https://cloudiot.googleapis.com