REST Resource: customerLicense
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แหล่งข้อมูล: CustomerLicense
การแสดง JSON |
{
"kind": string,
"state": string,
"applicationId": string,
"editions": [
{
object (Editions )
}
],
"id": string,
"customerId": string
} |
ช่อง |
kind |
string
ประเภทของทรัพยากร API ซึ่งจะเป็น appsmarket#customerLicense เสมอ
|
state |
string
สถานะใบอนุญาตของลูกค้า ข้อใดข้อหนึ่ง:
ACTIVE : ลูกค้ามีใบอนุญาตที่ถูกต้อง
UNLICENSED : ไม่มีใบอนุญาต: ลูกค้ารายนี้ไม่เคยติดตั้งแอปพลิเคชันของคุณมาก่อน หรือมิฉะนั้นได้ลบไปแล้ว
|
applicationId |
string
รหัสของแอปพลิเคชันที่เกี่ยวข้องกับการค้นหาใบอนุญาตนี้
|
editions[] (deprecated) |
object (Editions )
(เลิกใช้งาน)
|
id |
string
รหัสใบอนุญาตของลูกค้า
|
customerId |
string
ชื่อโดเมนของลูกค้า
|
ฉบับ
การแสดง JSON |
{
"editionId": string,
"seatCount": integer,
"assignedSeats": integer
} |
ช่อง |
editionId (deprecated) |
string
(เลิกใช้งาน)
|
seatCount (deprecated) |
integer
(เลิกใช้งาน)
|
assignedSeats (deprecated) |
integer
(เลิกใช้งาน)
|
เมธอด |
|
รับสถานะของใบอนุญาตสำหรับลูกค้าเพื่อพิจารณาว่ามีสิทธิ์เข้าถึงสำหรับแอปที่ระบุหรือไม่ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eThe CustomerLicense resource provides information about a customer's license status for a specific application.\u003c/p\u003e\n"],["\u003cp\u003eIt includes details such as the license state (ACTIVE or UNLICENSED), application ID, customer ID, and license ID.\u003c/p\u003e\n"],["\u003cp\u003eThe Editions section within the resource, containing editionId, seatCount, and assignedSeats, is deprecated.\u003c/p\u003e\n"],["\u003cp\u003eYou can retrieve the license status for a customer using the \u003ccode\u003eget\u003c/code\u003e method.\u003c/p\u003e\n"]]],["The `CustomerLicense` resource represents a customer's license for an application. Key information includes the license `state` (ACTIVE or UNLICENSED), the associated `applicationId`, and the customer's `customerId`. It contains a unique `id` for the license. The `kind` always indicates `appsmarket#customerLicense`. The `get` method retrieves the license status, indicating whether the customer has access to the application. Several fields regarding `editions`, such as `editionId`, `seatCount`, and `assignedSeats` are deprecated.\n"],null,["# REST Resource: customerLicense\n\nResource: CustomerLicense\n-------------------------\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"kind\": string, \"state\": string, \"applicationId\": string, \"editions\": [ { object (/workspace/marketplace/reference/rest/v2/customerLicense#Editions) } ], \"id\": string, \"customerId\": string } ``` |\n\n| Fields ||\n|-------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `kind` | `string` The type of API resource. This is always appsmarket#customerLicense. |\n| `state` | `string` The customer's license status. One of: - `ACTIVE`: The customer has a valid license. - `UNLICENSED`: There is no license: either this customer has never installed your application, or else has deleted it. |\n| `applicationId` | `string` The ID of the application corresponding to this license query. |\n| `editions[]` **(deprecated)** | `object (`[Editions](/workspace/marketplace/reference/rest/v2/customerLicense#Editions)`)` | This item is deprecated! (Deprecated) |\n| `id` | `string` The ID of the customer license. |\n| `customerId` | `string` The domain name of the customer. |\n\nEditions\n--------\n\n| JSON representation |\n|---------------------------------------------------------------------------------|\n| ``` { \"editionId\": string, \"seatCount\": integer, \"assignedSeats\": integer } ``` |\n\n| Fields ||\n|----------------------------------|---------------------------------------------------|\n| `editionId` **(deprecated)** | `string` | This item is deprecated! (Deprecated) |\n| `seatCount` **(deprecated)** | `integer` | This item is deprecated! (Deprecated) |\n| `assignedSeats` **(deprecated)** | `integer` | This item is deprecated! (Deprecated) |\n\n| Methods ------- ||\n|-------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------|\n| ### [get](/workspace/marketplace/reference/rest/v2/customerLicense/get) | Gets the status of a license for a customer to determine if they have access for a given app. |"]]