Google Workspace license allocation
We have purchased:
37600 x Google Workspace Education Plus licenses
SKU: GAPPSEDUPLUSSTUDENT1USER12MO
SKU description: Google Workspace Education Plus: 12 month license/support term; 1 seat
And we have been given as part of the deal:
9400 x Google Workspace Education Plus (Staff) licenses
SKU: GAPPSEDUPLUSSTAFF1USER12MO
SKU description: Google Workspace Education Plus; Staff User: 12 month license/support term; 1 seat
Both with end date: Dec 31, 2025
This is because Google gives you 1 staff license for each 4 student licenses you buy. Licenses are entitled to exactly the same regardless a student of a staff license. Unfortunately they are in two different pool and with different SKUs so when allocating these we'll have to check how many license remain in each pool, as this may vary depending of what type of license a leaver user had.
The task is to allocate these licenses to University staff and student using the Python client of the Admin SDK Enterprise License Manager API
The Google Product and SKU IDs can be found at https://developers.google.com/admin-sdk/licensing/v1/how-tos/products
In our case, Product ID is 101031
(Google Workspace for Education) and SKU IDs are 1010310008
for Google Workspace for Education Plus (Student) licenses and 1010310009
for Google Workspace for Education Plus (Staff) licenses.
We also need to make sure to deallocate a license once a user is deleted or suspended because they have left the university.