权限:addMembers
向指定的数据洞察资源添加成员。
请求
HTTP 请求
PATCH https://datastudio.googleapis.com/v1/assets/{assetId}/permissions:addMembers
参数
参数名称 |
类型 |
说明 |
assetId |
字符串 |
资源的 ID。 |
授权
此请求需要获得以下范围的授权:
范围 |
https://www.googleapis.com/auth/datastudio |
请求正文
在请求正文中,提供以下属性:
属性名称 |
类型 |
说明 |
assetId |
字符串 |
资源的 ID。 |
role |
角色 |
要为成员添加的角色。 |
members |
数组<成员> |
要添加的成员。 |
响应
响应
如果成功,此方法将返回更新后的权限对象。
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-04-13 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]