REST Resource: licenseNotification
Stay organized with collections
Save and categorize content based on your preferences.
Resource: LicenseNotification
JSON representation |
{
"id": string,
"applicationId": string,
"timestamp": string,
"customerId": string,
"kind": string,
"provisions": [
{
object (Provisions )
}
],
"expiries": [
{
object (Expiries )
}
],
"reassignments": [
{
object (Reassignments )
}
],
"deletes": [
{
object (Deletes )
}
]
} |
Fields |
id |
string
The ID of the license notification.
|
applicationId |
string
The ID of the application according to this notification.
|
timestamp |
string (int64 format)
The time the event occurred, measuring in milliseconds since the UNIX epoch.
|
customerId |
string
The domain name of the customer corresponding to this notification.
|
kind |
string
The type of API resource. This is always appsmarket#licenseNotification.
|
provisions[] |
object (Provisions )
The list of provisioning notifications.
|
expiries[] |
object (Expiries )
The list of expiry notifications.
|
reassignments[] |
object (Reassignments )
The list of reassignment notifications.
|
deletes[] |
object (Deletes )
The list of deletion notifications.
|
Provisions
JSON representation |
{
"kind": string,
"editionId": string,
"seatCount": string
} |
Fields |
kind |
string
|
editionId (deprecated) |
string
(Deprecated)
|
seatCount |
string (int64 format)
The number of seats that were provisioned.
|
Expiries
JSON representation |
{
"kind": string,
"editionId": string
} |
Fields |
kind |
string
|
editionId (deprecated) |
string
(Deprecated)
|
Reassignments
JSON representation |
{
"kind": string,
"userId": string,
"type": string,
"editionId": string
} |
Fields |
kind |
string
|
userId |
string
The email address of the reassigned user.
|
type |
string
|
editionId (deprecated) |
string
(Deprecated)
|
Deletes
JSON representation |
{
"kind": string,
"editionId": string
} |
Fields |
kind |
string
|
editionId (deprecated) |
string
(Deprecated)
|
Methods |
list (deprecated)
|
Deprecated: User-initiated install events can be tracked through Google Analytics. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-27 UTC.
[null,null,["Last updated 2025-02-27 UTC."],[[["\u003cp\u003eThe LicenseNotification resource provides information about license events, including provisioning, expiry, reassignment, and deletion.\u003c/p\u003e\n"],["\u003cp\u003eIt includes details like application ID, customer ID, timestamp, and specific information about each event type.\u003c/p\u003e\n"],["\u003cp\u003eProvisions include the number of seats provisioned, while Expiries, Reassignments, and Deletes previously included edition IDs, but these fields are now deprecated.\u003c/p\u003e\n"],["\u003cp\u003eThe 'list' method, which was used to retrieve license notifications, is also deprecated and replaced with Google Analytics for tracking user-initiated installs.\u003c/p\u003e\n"]]],["The content defines a `LicenseNotification` resource, detailing its structure and fields. Key information includes an `id`, `applicationId`, `timestamp`, `customerId`, and `kind`. It tracks `provisions` (seat count), `expiries`, `reassignments` (user ID and type), and `deletes`. Each of these sub-resources also includes a `kind` attribute and a deprecated `editionId`. The resource has a deprecated method, `list`, that is no longer used, but previously was used to track events.\n"],null,["# REST Resource: licenseNotification\n\nResource: LicenseNotification\n-----------------------------\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"id\": string, \"applicationId\": string, \"timestamp\": string, \"customerId\": string, \"kind\": string, \"provisions\": [ { object (/workspace/marketplace/reference/rest/v2/licenseNotification#Provisions) } ], \"expiries\": [ { object (/workspace/marketplace/reference/rest/v2/licenseNotification#Expiries) } ], \"reassignments\": [ { object (/workspace/marketplace/reference/rest/v2/licenseNotification#Reassignments) } ], \"deletes\": [ { object (/workspace/marketplace/reference/rest/v2/licenseNotification#Deletes) } ] } ``` |\n\n| Fields ||\n|-------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `id` | `string` The ID of the license notification. |\n| `applicationId` | `string` The ID of the application according to this notification. |\n| `timestamp` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The time the event occurred, measuring in milliseconds since the UNIX epoch. |\n| `customerId` | `string` The domain name of the customer corresponding to this notification. |\n| `kind` | `string` The type of API resource. This is always appsmarket#licenseNotification. |\n| `provisions[]` | `object (`[Provisions](/workspace/marketplace/reference/rest/v2/licenseNotification#Provisions)`)` The list of provisioning notifications. |\n| `expiries[]` | `object (`[Expiries](/workspace/marketplace/reference/rest/v2/licenseNotification#Expiries)`)` The list of expiry notifications. |\n| `reassignments[]` | `object (`[Reassignments](/workspace/marketplace/reference/rest/v2/licenseNotification#Reassignments)`)` The list of reassignment notifications. |\n| `deletes[]` | `object (`[Deletes](/workspace/marketplace/reference/rest/v2/licenseNotification#Deletes)`)` The list of deletion notifications. |\n\nProvisions\n----------\n\n| JSON representation |\n|----------------------------------------------------------------------|\n| ``` { \"kind\": string, \"editionId\": string, \"seatCount\": string } ``` |\n\n| Fields ||\n|------------------------------|--------------------------------------------------------------------------------------------------------------------------------|\n| `kind` | `string` |\n| `editionId` **(deprecated)** | `string` | This item is deprecated! (Deprecated) |\n| `seatCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The number of seats that were provisioned. |\n\nExpiries\n--------\n\n| JSON representation |\n|-------------------------------------------------|\n| ``` { \"kind\": string, \"editionId\": string } ``` |\n\n| Fields ||\n|------------------------------|--------------------------------------------------|\n| `kind` | `string` |\n| `editionId` **(deprecated)** | `string` | This item is deprecated! (Deprecated) |\n\nReassignments\n-------------\n\n| JSON representation |\n|-----------------------------------------------------------------------------------|\n| ``` { \"kind\": string, \"userId\": string, \"type\": string, \"editionId\": string } ``` |\n\n| Fields ||\n|------------------------------|----------------------------------------------------|\n| `kind` | `string` |\n| `userId` | `string` The email address of the reassigned user. |\n| `type` | `string` |\n| `editionId` **(deprecated)** | `string` | This item is deprecated! (Deprecated) |\n\nDeletes\n-------\n\n| JSON representation |\n|-------------------------------------------------|\n| ``` { \"kind\": string, \"editionId\": string } ``` |\n\n| Fields ||\n|------------------------------|--------------------------------------------------|\n| `kind` | `string` |\n| `editionId` **(deprecated)** | `string` | This item is deprecated! (Deprecated) |\n\n| Methods ------- ||\n|---------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### [list](/workspace/marketplace/reference/rest/v2/licenseNotification/list)` ` **(deprecated)** | Deprecated: User-initiated install events can be tracked through [Google Analytics](https://developers.google.com/workspace/marketplace/use-analytics#app-metrics). |"]]