概念
使用 API 时,了解客户、用户、SKU 和许可的概念关系非常重要。
现有 Google Workspace 客户可以在管理员控制台中创建用户。默认情况下,系统会为这些用户自动分配使用 Google Workspace 的许可。
购买 Google Workspace 后,客户还可以购买其他许可,例如 Google 云端硬盘存储空间许可。Google 云端硬盘存储空间有 8 个层级,可用存储空间为 20 GB 到 16 TB。客户必须先激活 Google 云端硬盘存储空间订阅,然后使用许可管理器界面为上述任一层级分配存储空间许可。客户还可以独立于 Google Workspace 购买 Google 地图协调中心,然后使用同一界面分配 Google 地图协调中心许可。
这些可获授权实体称为 SKU。通过此 API,网域管理员可以通过编程方式将 SKU 的许可分配给特定用户,并与许可管理器界面配合使用。您还可以为特定用户取消分配和重新分配许可,分配方式与在界面中操作非常相似。该 API 允许为 Google Workspace 转销商管理员及其客户分配相同的程序化许可。
如果用户为上述任何产品选择弹性方案,则分配、取消分配和重新分配此 API 的许可会产生金钱方面的影响,并会导致系统向您的客户结算帐号收取费用。例如,如果您使用的是 Google 云端硬盘存储空间的弹性方案,向用户分配 20GB 的许可后,系统会向您的帐号收取相应费用(从分配完成后按比例收费)。如果您采用的是包年方案,那么您应该已经承诺为一定数量的许可支付费用,而且您只能向具体用户分配数量相同的许可。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-08-29。
[null,null,["最后更新时间 (UTC):2024-08-29。"],[[["Google Workspace customers can manage user licenses for various products like Google Drive storage and Google Maps Coordinate."],["The Licenses API allows programmatic assignment, removal, and reassignment of licenses (SKUs) to users, similar to the License Manager user interface."],["Google Drive storage offers 8 tiers of storage licenses, requiring subscription activation before assigning to users."],["License management through the API can have cost implications for flexible plan users, resulting in prorated charges or limitations based on annual commitments."],["Understanding the relationships between customers, users, SKUs, and licenses is crucial when using the Licenses API."]]],["Customers create users who are auto-assigned Google Workspace licenses. Additional licenses, like Google Drive storage (20GB-16TB) and Google Maps Coordinate, are purchased and activated. These products are SKUs, and administrators can use the API or License Manager UI to assign, unassign, and reassign SKU licenses to users. For flexible plans, license changes impact billing; annual plans have pre-committed license limits. Reseller administrators can also use the API for license management for customers.\n"]]