REST Resource: accounts.locations.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)
|
更新指定营业地点管理员的管理员。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-10-11。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2024-10-11。"],[[["An Admin resource represents an administrator for a Google My Business Account or Location, with details such as name, role, and pending invitation status."],["Admins have specific roles within an Account or Location, and their information is organized in a structured JSON format."],["You can manage Admins (inviting, removing, updating, or viewing them) using dedicated methods, although some methods like `create`, `delete`, `list`, and `patch` are currently deprecated."],["The `Admin` resource includes fields like `name`, `adminName`, `role`, and `pendingInvitation` to provide comprehensive information about the administrator."]]],[]]