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