REST Resource: customers.dpcs
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
資源:Dpc
EMM 的 DPC (裝置政策控制器)。零接觸註冊機制會在裝置上安裝 DPC (列於Configuration
),以維持客戶的行動裝置政策。API 列出的所有 DPC 都支援零接觸註冊機制,可在 Google Play 上架。
JSON 表示法 |
{
"name": string,
"packageName": string,
"dpcName": string
} |
欄位 |
name |
string
僅供輸出。API 資源名稱,格式為 customers/[CUSTOMER_ID]/dpcs/[DPC_ID] 。由伺服器指派。如要跨客戶帳戶的 DPC 參照,請保留並比對最後一個路徑元件 (DPC_ID )。
|
packageName |
string
僅供輸出。DPC 的 Android 應用程式 ID,格式為 Java 套件名稱。零接觸註冊機制會使用這個 ID 在裝置上安裝 DPC 應用程式。
|
dpcName |
string
僅供輸出。Google Play 中 DPC 應用程式名稱。例如 Google Apps Device Policy。可在應用程式的使用者介面中使用。
|
方法 |
|
列出支援零接觸註冊機制的 DPC (裝置政策控制器)。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003eDPCs (Device Policy Controllers) are installed on devices via zero-touch enrollment to enforce mobile policies.\u003c/p\u003e\n"],["\u003cp\u003eThe API lists DPCs that support zero-touch enrollment and are available in Google Play.\u003c/p\u003e\n"],["\u003cp\u003eEach DPC's JSON representation includes its \u003ccode\u003ename\u003c/code\u003e, \u003ccode\u003epackageName\u003c/code\u003e (Android application ID), and \u003ccode\u003edpcName\u003c/code\u003e (title in Google Play).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e field provides a unique identifier for a DPC, with \u003ccode\u003eDPC_ID\u003c/code\u003e being the unique key.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003elist\u003c/code\u003e method can be used to get a list of all DPCs that support zero-touch enrollment.\u003c/p\u003e\n"]]],["The Device Policy Controller (DPC) resource manages mobile policies on devices via zero-touch enrollment. Key information includes: `name` (API resource identifier), `packageName` (Android app ID), and `dpcName` (title in Google Play). The API's core action is listing available DPCs that support zero-touch enrollment, using the `list` method. The provided JSON structure outlines how a DPC is represented, defining its attributes. This API supports identifying DPC apps for use in user interfaces.\n"],null,["# REST Resource: customers.dpcs\n\n- [Resource: Dpc](#Dpc)\n - [JSON representation](#Dpc.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Dpc\n-------------\n\nAn EMM's DPC ([device policy controller](http://developer.android.com/work/dpc/build-dpc.html)). Zero-touch enrollment installs a DPC (listed in the `Configuration`) on a device to maintain the customer's mobile policies. All the DPCs listed by the API support zero-touch enrollment and are available in Google Play.\n\n| JSON representation ||\n|----------------------------------------------------------------------|---|\n| ``` { \"name\": string, \"packageName\": string, \"dpcName\": string } ``` |\n\n| Fields ||\n|---------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. The API resource name in the format `customers/[CUSTOMER_ID]/dpcs/[DPC_ID]`. Assigned by the server. To maintain a reference to a DPC across customer accounts, persist and match the last path component (`DPC_ID`). |\n| `packageName` | `string` Output only. The DPC's Android application ID that looks like a Java package name. Zero-touch enrollment installs the DPC app onto a device using this identifier. |\n| `dpcName` | `string` Output only. The title of the DPC app in Google Play. For example, *Google Apps Device Policy*. Useful in an application's user interface. |\n\n| Methods ------- ||\n|------------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| ### [list](/zero-touch/reference/customer/rest/v1/customers.dpcs/list) | Lists the DPCs (device policy controllers) that support zero-touch enrollment. |"]]