Method: customers.policies.groups.updateGroupPriorityOrdering

更新应用的群组优先级排序。必须在 PolicyTargetKey 的 additionalTargetKeyNames 中提供目标应用。如果请求失败,该请求将返回错误详情,作为 google.rpc.Status 的一部分。

HTTP 请求

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

网址采用 gRPC 转码语法。

路径参数

参数
customer

string

必需。与请求关联的客户的 Google Workspace 帐号 ID,或文字为“my_customer”。

请求正文

请求正文中包含结构如下的数据:

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

object (PolicyTargetKey)

必需。要更新其组优先级排序的目标的键。目标资源必须指向应用。

policyNamespace

string

必需。请求的政策类型的命名空间。

groupIds[]

string

必需。群组 ID(按照所需的优先级顺序)。

响应正文

如果成功,则响应正文为空。

授权范围

需要以下 OAuth 范围:

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