Method: customers.policies.groups.listGroupPriorityOrdering

擷取應用程式的群組優先順序排序。您必須在 PolicyTargetKey 的「additionalTargetKeyNames」中提供目標應用程式。要求失敗時,會傳回 google.rpc.Status 中的錯誤詳細資料。

HTTP 要求

POST https://chromepolicy.googleapis.com/v1/{customer=customers/*}/policies/groups:listGroupPriorityOrdering

這個網址使用 gRPC 轉碼語法。

路徑參數

參數
customer

string

必要欄位。與要求相關聯客戶的 Google Workspace 帳戶 ID 或常值「my_customer」。

要求主體

要求主體的資料會採用以下結構:

JSON 表示法
{
  "policyTargetKey": {
    object (PolicyTargetKey)
  },
  "policyNamespace": string
}
欄位
policyTargetKey

object (PolicyTargetKey)

必要欄位。要擷取群組優先順序順序的目標鍵。目標資源必須指向應用程式。

policyNamespace

string

必要欄位。要求政策類型的命名空間。

回應主體

如果成功,回應主體即會包含具有以下結構的資料:

列出應用程式群組優先順序的回應訊息。

JSON 表示法
{
  "policyTargetKey": {
    object (PolicyTargetKey)
  },
  "policyNamespace": string,
  "groupIds": [
    string
  ]
}
欄位
policyTargetKey

object (PolicyTargetKey)

僅供輸出。已擷取群組優先順序順序的目標資源。

policyNamespace

string

僅供輸出。群組 ID 政策類型的命名空間。

groupIds[]

string

僅供輸出。群組 ID,按照優先順序排列。

授權範圍

需要下列其中一種 OAuth 範圍:

  • https://www.googleapis.com/auth/chrome.management.policy.readonly
  • https://www.googleapis.com/auth/chrome.management.policy