Method: customers.dpcs.list
列出支援零接觸註冊機制的 DPC (裝置政策控制器)。
HTTP 要求
GET https://androiddeviceprovisioning.googleapis.com/v1/{parent=customers/*}/dpcs
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
parent |
string
必要欄位。可在設定中使用 DPC 的客戶。API 資源名稱,格式為 customers/[CUSTOMER_ID] 。
|
回應主體
如果成功,回應主體會含有以下結構的資料:
JSON 表示法 |
{
"dpcs": [
{
object (Dpc )
}
]
} |
欄位 |
dpcs[] |
object (Dpc )
客戶可用的 DPC 清單,支援零接觸註冊機制。
|
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/androidworkzerotouchemm
詳情請參閱 OAuth 2.0 總覽。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-11-08 (世界標準時間)。
[null,null,["上次更新時間:2024-11-08 (世界標準時間)。"],[[["This webpage details how to list Device Policy Controllers (DPCs) that support zero-touch enrollment via an HTTP GET request."],["The request URL structure requires a `parent` path parameter, representing the customer's ID in the format `customers/[CUSTOMER_ID]`."],["The request body for listing DPCs must be empty, and the response will contain a list of DPCs in JSON format."],["Successful responses return a JSON object, with the `dpcs[]` field containing an array of DPC objects."],["Authorisation to perform the request requires the `https://www.googleapis.com/auth/androidworkzerotouchemm` OAuth scope."]]],["This document details retrieving a list of Device Policy Controllers (DPCs) supporting zero-touch enrollment. A `GET` request is sent to a specific URL using gRPC Transcoding, including the customer ID as a required `parent` path parameter. The request body must be empty. A successful response contains a JSON object with a `dpcs[]` field, listing available DPCs. The process requires `https://www.googleapis.com/auth/androidworkzerotouchemm` OAuth scope for authorization.\n"]]