Method: enterprises.policies.list
HTTP 要求
GET https://androidmanagement.googleapis.com/v1/{parent=enterprises/*}/policies
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
parent |
string
企業名稱,格式為 enterprises/{enterpriseId} 。
|
查詢參數
參數 |
pageSize |
integer
所要求的頁面大小。實際頁面大小可能會固定為最小值或最大值。
|
pageToken |
string
用於識別伺服器傳回的結果頁面。
|
回應主體
回應要求列出特定企業的政策。
如果成功,回應主體會含有以下結構的資料:
JSON 表示法 |
{
"policies": [
{
object (Policy )
}
],
"nextPageToken": string
} |
欄位 |
policies[] |
object (Policy )
政策清單。
|
nextPageToken |
string
如果有更多結果,則是用來擷取下一頁結果的符記。
|
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/androidmanagement
詳情請參閱 OAuth 2.0 Overview。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-02-19 (世界標準時間)。
[null,null,["上次更新時間:2025-02-19 (世界標準時間)。"],[[["Lists policies associated with a specific enterprise."],["Uses a GET request to retrieve policy information."],["Includes pagination to handle large result sets."],["Requires authorization with the `https://www.googleapis.com/auth/androidmanagement` scope."],["Response provides a list of policies and a token for retrieving further pages if available."]]],["This document details how to list policies for an enterprise using a `GET` request to `https://androidmanagement.googleapis.com/v1/{parent=enterprises/*}/policies`. The `parent` path parameter specifies the enterprise. Optional query parameters `pageSize` and `pageToken` control pagination. The request body must be empty. The successful response includes a list of `policies` and a `nextPageToken` for retrieving further results, represented in JSON format. This action requires the `https://www.googleapis.com/auth/androidmanagement` authorization scope.\n"]]