请在关键端点停用之前更新您的 Google Business Profile API 集成。请查看
弃用时间表和相关说明,以免在 2022 年 4 月之后出现中断。
REST Resource: accounts.admins
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源:Admin
JSON 表示法 |
{
"name": string,
"adminName": string,
"role": enum (AdminRole ),
"pendingInvitation": boolean
} |
字段 |
name |
string
资源名称。 对于账号管理员,其格式为:accounts/{accountId}/admins/{adminId} 对于营业地点管理员,其格式为:accounts/{accountId}/locations/{locationId}/admins/{adminId}
|
adminName |
string
管理员的姓名。首次发送邀请时,这就是邀请对象的电子邮件地址。调用 GET 时,如果邀请仍处于待处理状态,系统会返回用户的电子邮件地址。否则,其中会包含用户的名字和姓氏。
|
role |
enum (AdminRole )
指定此管理员用于指定 Account 或 Location 资源的 AdminRole 。
|
pendingInvitation |
boolean
仅供输出。指明此管理员是否有对指定资源的待处理邀请。
|
方法 |
create (deprecated)
|
邀请指定用户担任指定账号的管理员。 |
delete (deprecated)
|
从指定帐号中移除指定管理员。 |
list (deprecated)
|
列出指定帐号的管理员。 |
patch (deprecated)
|
更新指定 Account Admin 的管理员。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-12-01。
[{
"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":"其他"
}]