REST Resource: licenseAssignments
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
משאב: LicenseAssignment
ייצוג ב-JSON |
{
"kind": string,
"etags": string,
"productId": string,
"userId": string,
"selfLink": string,
"skuId": string,
"skuName": string,
"productName": string
} |
שדות |
kind |
string
מזהה את המשאב כ-LicenseAssignment, שהוא licensing#licenseAssignment .
|
etags |
string
ה-ETag של המשאב.
|
productId |
string
המזהה הייחודי של המוצר. מידע נוסף על מוצרים בגרסה הזו של ה-API זמין במאמר מזהי מוצרים ומק"טים.
|
userId |
string
כתובת האימייל הראשית הנוכחית של המשתמש. אם כתובת האימייל של המשתמש משתנה, צריך להשתמש בכתובת האימייל החדשה בבקשות ה-API. מכיוון ש-userId עשוי להשתנות, אין להשתמש בערך של userId כמפתח לנתונים קבועים. המפתח הזה עלול להיפגם אם כתובת האימייל של המשתמש הנוכחי תשתנה. אם ה-userId יושעה, סטטוס הרישיון ישתנה.
|
selfLink |
string
קישור לדף הזה.
|
skuId |
string
המזהה הייחודי של מק"ט של מוצר. מידע נוסף על המק"טים הזמינים בגרסה הזו של ה-API זמין במאמר מוצרים ומק"טים.
|
skuName |
string
שם התצוגה של המק"ט של המוצר.
|
productName |
string
השם המוצג של המוצר.
|
Methods |
|
ביטול רישיון. |
|
הצגת רישיון של משתמש ספציפי לפי מק"ט של מוצר. |
|
מקצים רישיון. |
|
הצגת רשימה של כל המשתמשים שקיבלו רישיונות למק"ט ספציפי של מוצר. |
|
הצגת רשימה של כל המשתמשים שקיבלו רישיונות למק"ט ספציפי של מוצר. |
|
הקצאה מחדש של מק"ט של משתמש למק"ט אחר באותו מוצר. |
|
הקצאה מחדש של מק"ט של משתמש למק"ט אחר באותו מוצר. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[],[],null,["# REST Resource: licenseAssignments\n\n- [Resource: LicenseAssignment](#LicenseAssignment)\n - [JSON representation](#LicenseAssignment.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: LicenseAssignment\n---------------------------\n\nRepresentation of a license assignment.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"kind\": string, \"etags\": string, \"productId\": string, \"userId\": string, \"selfLink\": string, \"skuId\": string, \"skuName\": string, \"productName\": string } ``` |\n\n| Fields ||\n|---------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `kind` | `string` Identifies the resource as a LicenseAssignment, which is `licensing#licenseAssignment`. |\n| `etags` | `string` ETag of the resource. |\n| `productId` | `string` A product's unique identifier. For more information about products in this version of the API, see [Product and SKU IDs](https://developers.google.com/workspace/admin/licensing/v1/how-tos/products). |\n| `userId` | `string` The user's current primary email address. If the user's email address changes, use the new email address in your API requests. Since a `userId` is subject to change, do not use a `userId` value as a key for persistent data. This key could break if the current user's email address changes. If the `userId` is suspended, the license status changes. |\n| `selfLink` | `string` Link to this page. |\n| `skuId` | `string` A product SKU's unique identifier. For more information about available SKUs in this version of the API, see [Products and SKUs](https://developers.google.com/workspace/admin/licensing/v1/how-tos/products). |\n| `skuName` | `string` Display Name of the sku of the product. |\n| `productName` | `string` Display Name of the product. |\n\n| Methods ------- ||\n|------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------|\n| ### [delete](/workspace/admin/licensing/reference/rest/v1/licenseAssignments/delete) | Revoke a license. |\n| ### [get](/workspace/admin/licensing/reference/rest/v1/licenseAssignments/get) | Get a specific user's license by product SKU. |\n| ### [insert](/workspace/admin/licensing/reference/rest/v1/licenseAssignments/insert) | Assign a license. |\n| ### [listForProduct](/workspace/admin/licensing/reference/rest/v1/licenseAssignments/listForProduct) | List all users assigned licenses for a specific product SKU. |\n| ### [listForProductAndSku](/workspace/admin/licensing/reference/rest/v1/licenseAssignments/listForProductAndSku) | List all users assigned licenses for a specific product SKU. |\n| ### [patch](/workspace/admin/licensing/reference/rest/v1/licenseAssignments/patch) | Reassign a user's product SKU with a different SKU in the same product. |\n| ### [update](/workspace/admin/licensing/reference/rest/v1/licenseAssignments/update) | Reassign a user's product SKU with a different SKU in the same product. |"]]