Account Management API
更新日志
v1.1
转移营业地点
现在,您可以使用 Account Management API 来转移营业地点。请求正文必须包含 destinationAccount
(以前称为 toAccount
)。了解详情。
v1
API 权限
Account Management API 将需要从 GCP Console 启用。OAuth 范围保持不变。
端点网址
可以通过 https://mybusinessaccountmanagement.googleapis.com/v1/accounts/{accountId}
(而不是 https://mybusiness.googleapis.com/v4/accounts/{accountId}
)使用 Account Management API
ListInvitations 过滤
以前,可以使用 target_type
网址参数过滤邀请。在 Account Management API 中,此参数已替换为 filter
参数。客户端将可以使用 ?filter=target_type=ACCOUNT_ONLY
等值进行过滤。
主要所有者
“PrimaryOwner”已移至 accounts.create 方法中的 POST 正文。以前,它属于查询参数。
GenerateAccountNumber
功能已弃用。
ListRecommendGoogleLocations
功能已弃用。
现在所有更新都需要字段掩码
如果网址中没有 updateMask 参数,您将无法再进行更新/补丁程序调用。
更新了账号角色和管理员角色的名称
账号/管理员角色名称已进行如下更改:
之前的名称 |
更新后的名称 |
OWNER |
PRIMARY_OWNER |
CO_OWNER |
OWNER |
COMMUNITY_MANAGER |
SITE_MANAGER |
OrganizationInfo.postal_address 已重命名为 OrganizationInfo.address
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-12-05。
[null,null,["最后更新时间 (UTC):2024-12-05。"],[[["The Account Management API now allows location transfers and requires enabling from the GCP Console."],["The API endpoint URL, ListInvitations filtering, and PrimaryOwner parameter location have been updated."],["`GenerateAccountNumber` and `ListRecommendGoogleLocations` functionalities are deprecated, and all updates now require a field mask."],["Account and admin role names have been updated (e.g., OWNER is now PRIMARY_OWNER), and OrganizationInfo.postal_address is renamed to OrganizationInfo.address."]]],["The Account Management API now allows location transfers via the `destinationAccount` field. API access is enabled through the GCP Console, with a new endpoint URL. Invitation filtering now uses a `filter` parameter. `PrimaryOwner` moved to the POST body of `accounts.create`. `GenerateAccountNumber` and `ListRecommendGoogleLocations` are deprecated. All updates require a field mask. Account role names have been revised (e.g., OWNER to PRIMARY_OWNER), and `OrganizationInfo.postal_address` is now `OrganizationInfo.address`.\n"]]