Method: enterprises.structures.list
HTTP 请求
GET https://smartdevicemanagement.googleapis.com/v1/{parent=enterprises/*}/structures
网址采用 gRPC 转码语法。
路径参数
参数 |
parent |
string
要列出其下的结构的父级企业。例如:“enterprises/XYZ”。
|
查询参数
参数 |
filter |
string
用于列出结构的可选过滤条件。
|
响应正文
SmartDeviceManagementService.ListStructures 的响应消息
如果成功,响应正文将包含结构如下的数据:
JSON 表示法 |
{
"structures": [
{
object (Structure )
}
]
} |
字段 |
structures[] |
object (Structure )
结构列表。
|
授权范围
需要以下 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 device access structures managed by an enterprise using the provided endpoint."],["Allows filtering structures via an optional query parameter."],["Requires authorization using the `https://www.googleapis.com/auth/sdm.service` scope."],["Returns a list of structures if successful, formatted as outlined in the response body section."]]],["This document details retrieving a list of enterprise-managed structures. It uses a `GET` request to a specific URL: `https://smartdevicemanagement.googleapis.com/v1/{parent=enterprises/*}/structures`. The `parent` path parameter specifies the enterprise. An optional `filter` query parameter refines the structure list. The request body is empty. The successful response includes a list of `structures` in JSON format. This action requires the `https://www.googleapis.com/auth/sdm.service` authorization scope.\n"]]