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.