Method: enterprises.structures.rooms.list
HTTP 请求
GET https://smartdevicemanagement.googleapis.com/v1/{parent=enterprises/*/structures/*}/rooms
网址采用 gRPC 转码语法。
路径参数
参数 |
parent |
string
所请求会议室的父级资源名称。例如:“enterprises/XYZ/structures/ABC”。
|
响应正文
SmartDeviceManagementService.ListRooms 的响应消息
如果成功,响应正文将包含结构如下的数据:
JSON 表示法 |
{
"rooms": [
{
object (Room )
}
]
} |
字段 |
rooms[] |
object (Room )
聊天室列表。
|
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/sdm.service
如需了解详情,请参阅 OAuth 2.0 概览。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-10-14。
[null,null,["最后更新时间 (UTC):2024-10-14。"],[[["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."]]],["This document outlines the process for listing rooms within an enterprise using the Smart Device Management API. A `GET` request is sent to a specific URL containing the enterprise and structure identifiers in the `parent` path parameter. The request body must be empty. Successful requests return a JSON response containing a list of `rooms`, each detailed as an object. This action requires the `https://www.googleapis.com/auth/sdm.service` OAuth scope for authorization.\n"]]