REST Resource: properties.accessBindings
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源:AccessBinding
JSON 表示法 |
{
"name": string,
"roles": [
string
],
// Union field access_target can be only one of the following:
"user": string
// End of list of possible types for union field access_target .
} |
字段 |
name |
string
仅限输出。此绑定的资源名称。 格式:accounts/{account}/accessBindings/{accessBinding} 或 properties/{property}/accessBindings/{accessBinding} 示例:“accounts/100/accessBindings/200”
|
roles[] |
string
要授予父资源的角色列表。 有效值:recommendedRoles/viewer 预定义角色/analyst 预定义角色/editor 预先定义角色/管理员预定义角色/no-cost-data 预定义角色/no-revenue-data 对于用户,如果设置了空的角色列表,此 AccessBinding 将被删除。
|
联合字段 access_target 。要为其设置角色的目标。access_target 只能是下列其中一项: |
user |
string
如果设置了此字段,则为要为其设置角色的用户的电子邮件地址。格式:“[email protected]”
|
方法 |
|
创建与某个帐号或媒体资源的多个访问权限绑定有关的信息。 |
|
删除多个用户与某个账号或媒体资源的关联的相关信息。 |
|
获取有关某个帐号或媒体资源的多个访问权限绑定的信息。 |
|
更新与某个帐号或媒体资源的多个访问权限绑定有关的信息。 |
|
对帐号或媒体资源创建访问权限绑定。 |
|
删除帐号或媒体资源的访问权限绑定。 |
|
获取有关访问权限绑定的信息。 |
|
列出帐号或媒体资源上的所有访问权限绑定。 |
|
更新帐号或媒体资源的访问权限绑定。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-05-06。
[{
"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":"其他"
}]