List devices in a device registry.
HTTP request
GET https://cloudiot.googleapis.com/v1/{parent=projects/*/locations/*/registries/*}/devices
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
The device registry path. Required. For example, Authorization requires the following Google IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
deviceNumIds |
A list of device numeric IDs. If empty, this field is ignored. Maximum IDs: 10,000. |
deviceIds |
A list of device string IDs. For example, |
fieldMask |
The fields of the A comma-separated list of fully qualified names of fields. Example: |
gatewayListOptions |
Options related to gateways. |
pageSize |
The maximum number of devices to return in the response. If this value is zero, the service will select a default size. A call may return fewer objects than requested. A non-empty |
pageToken |
The value returned by the last |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of ListDevicesResponse
.
Authorization Scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloudiot
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.