REST Resource: customers.dpcs
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
- 资源:Dpc
<ph type="x-smartling-placeholder">
- 方法
资源: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 软件包名称。零触摸注册会将 DPC 应用安装到使用此标识符的设备上。
|
dpcName |
string
仅限输出。Google Play 中 DPC 应用的名称。例如,Google Apps Device Policy。在应用界面中很有用。
|
方法 |
|
列出支持零触摸注册的 DPC(设备政策控制器)。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):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. |"]]