AI-generated Key Takeaways
-
Lists rooms managed by an enterprise within a specific structure.
-
Requires an HTTP GET request to a structured URL containing the enterprise and structure IDs.
-
An empty request body is necessary, while the response provides a list of rooms in JSON format.
-
Authorization is required using the
https://www.googleapis.com/auth/sdm.service
OAuth scope.
Lists rooms managed by the enterprise.
HTTP request
GET https://smartdevicemanagement.googleapis.com/v1/{parent=enterprises/*/structures/*}/rooms
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
The parent resource name of the rooms requested. For example: "enterprises/XYZ/structures/ABC". |
Request body
The request body must be empty.
Response body
Response message for SmartDeviceManagementService.ListRooms
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"rooms": [
{
object ( |
Fields | |
---|---|
rooms[] |
The list of rooms. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/sdm.service
For more information, see the OAuth 2.0 Overview.