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
प्रॉडक्ट का यूनीक आइडेंटिफ़ायर. एपीआई के इस वर्शन में प्रॉडक्ट के बारे में ज़्यादा जानने के लिए, प्रॉडक्ट और SKU आईडी देखें.
|
userId |
string
उपयोगकर्ता का मौजूदा मुख्य ईमेल पता. अगर उपयोगकर्ता का ईमेल पता बदलता है, तो अपने एपीआई अनुरोधों में नए ईमेल पते का इस्तेमाल करें.
userId में बदलाव हो सकता है. इसलिए, userId वैल्यू को हमेशा सेव रहने वाले डेटा के लिए कुंजी के तौर पर इस्तेमाल न करें. अगर मौजूदा उपयोगकर्ता का ईमेल पता बदल जाता है, तो यह कुंजी काम नहीं करेगी. अगर userId निलंबित कर दिया जाता है, तो लाइसेंस की स्थिति बदल जाती है.
|
selfLink |
string
इस पेज का लिंक.
|
skuId |
string
प्रॉडक्ट के SKU का यूनीक आइडेंटिफ़ायर. API के इस वर्शन में उपलब्ध SKU के बारे में ज़्यादा जानकारी के लिए, प्रॉडक्ट और SKU देखें.
|
skuName |
string
प्रॉडक्ट के SKU का डिसप्ले नेम.
|
productName |
string
प्रॉडक्ट का डिसप्ले नेम.
|
तरीके |
|
लाइसेंस रद्द करें. |
|
प्रॉडक्ट के SKU के हिसाब से, किसी उपयोगकर्ता का लाइसेंस पाएं. |
|
लाइसेंस असाइन करें. |
|
किसी खास प्रॉडक्ट के SKU के लिए लाइसेंस असाइन किए गए सभी उपयोगकर्ताओं की सूची. |
|
किसी खास प्रॉडक्ट के SKU के लिए लाइसेंस असाइन किए गए सभी उपयोगकर्ताओं की सूची. |
|
उपयोगकर्ता के प्रॉडक्ट के SKU को उसी प्रॉडक्ट में किसी दूसरे SKU से फिर से असाइन करना. |
|
उपयोगकर्ता के प्रॉडक्ट के SKU को उसी प्रॉडक्ट में किसी दूसरे SKU से फिर से असाइन करना. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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. |"]]