Method: customerLicense.get
يتعرّف على حالة الترخيص لعميل لتحديد ما إذا كان بإمكانه الوصول إلى تطبيق معيّن.
طلب HTTP
GET https://appsmarket.googleapis.com/appsmarket/v2/customerLicense/{applicationId}/{customerId}
يستخدِم عنوان URL بنية تحويل ترميز gRPC.
مَعلمات المسار
المَعلمات |
applicationId |
string
معرِّف التطبيق
|
customerId |
string
الرقم التعريفي للعميل
|
نص الطلب
يجب أن يكون نص الطلب فارغًا.
نص الاستجابة
إذا كانت الاستجابة ناجحة، يحتوي نص الاستجابة على مثال CustomerLicense
.
نطاقات التفويض
يجب توفير نطاق OAuth التالي:
https://www.googleapis.com/auth/appsmarketplace.license
لمزيد من المعلومات، راجِع دليل التفويض.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2023-12-01 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2023-12-01 (حسب التوقيت العالمي المتفَّق عليه)"],[[["Retrieves the license status for a specific customer to check if they have access to a particular application."],["The request is made using an HTTP GET method to a designated URL with parameters for application ID and customer ID."],["The response provides details regarding the customer's license through the `CustomerLicense` object if the request is successful."],["Authorization is needed using the `https://www.googleapis.com/auth/appsmarketplace.license` scope."]]],[]]