REST Resource: customerLicense
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Ressource: CustomerLicense
JSON-Darstellung |
{
"kind": string,
"state": string,
"applicationId": string,
"editions": [
{
object (Editions )
}
],
"id": string,
"customerId": string
} |
Felder |
kind |
string
Der Typ der API-Ressource. Dies ist immer „appsmarket#customerLicense“.
|
state |
string
Der Lizenzstatus des Kunden. Eine der Folgenden:
ACTIVE : Der Kunde hat eine gültige Lizenz.
UNLICENSED : Es gibt keine Lizenz: Entweder hat dieser Kunde Ihre Anwendung nie installiert oder sie hat sie gelöscht.
|
applicationId |
string
Die ID der Anwendung, die dieser Lizenzabfrage entspricht.
|
editions[] (deprecated) |
object (Editions )
(verworfen)
|
id |
string
Die ID der Kundenlizenz.
|
customerId |
string
Der Domainname des Kunden.
|
Versionen
JSON-Darstellung |
{
"editionId": string,
"seatCount": integer,
"assignedSeats": integer
} |
Felder |
editionId (deprecated) |
string
(verworfen)
|
seatCount (deprecated) |
integer
(verworfen)
|
assignedSeats (deprecated) |
integer
(verworfen)
|
Methoden |
|
Ruft den Status einer Lizenz für einen Kunden ab, um festzustellen, ob er Zugriff auf eine bestimmte App hat. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-25 (UTC).
[null,null,["Zuletzt aktualisiert: 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. |"]]