REST Resource: licenseNotification
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Ресурс: LicenseNotification
JSON-представление |
---|
{
"id": string,
"applicationId": string,
"timestamp": string,
"customerId": string,
"kind": string,
"provisions": [
{
object (Provisions )
}
],
"expiries": [
{
object (Expiries )
}
],
"reassignments": [
{
object (Reassignments )
}
],
"deletes": [
{
object (Deletes )
}
]
} |
Поля |
---|
id | string Идентификатор уведомления о лицензии. |
applicationId | string Идентификатор приложения согласно этому уведомлению. |
timestamp | string ( int64 format) Время, когда произошло событие, измеряемое в миллисекундах с эпохи UNIX. |
customerId | string Доменное имя клиента, соответствующего этому уведомлению. |
kind | string Тип ресурса API. Это всегда appsmarket#licenseNotification. |
provisions[] | object ( Provisions ) Список уведомлений об обеспечении. |
expiries[] | object ( Expiries ) Список уведомлений об истечении срока действия. |
reassignments[] | object ( Reassignments ) Список уведомлений о переназначении. |
deletes[] | object ( Deletes ) Список уведомлений об удалении. |
Положения
JSON-представление |
---|
{
"kind": string,
"editionId": string,
"seatCount": string
} |
Поля |
---|
kind | string |
editionId (deprecated) | string (Устарело) |
seatCount | string ( int64 format) Количество предоставленных мест. |
Сроки действия
JSON-представление |
---|
{
"kind": string,
"editionId": string
} |
Поля |
---|
kind | string |
editionId (deprecated) | string (Устарело) |
Переназначения
JSON-представление |
---|
{
"kind": string,
"userId": string,
"type": string,
"editionId": string
} |
Поля |
---|
kind | string |
userId | string Адрес электронной почты переназначенного пользователя. |
type | string |
editionId (deprecated) | string (Устарело) |
Удаляет
JSON-представление |
---|
{
"kind": string,
"editionId": string
} |
Поля |
---|
kind | string |
editionId (deprecated) | string (Устарело) |
Методы |
---|
list (deprecated) | Устарело: события установки, инициированные пользователем, можно отслеживать с помощью Google Analytics . |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-25 UTC.
[null,null,["Последнее обновление: 2025-07-25 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). |"]]