REST Resource: licenseNotification
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Tài nguyên: LicenseNotification
Biểu diễn dưới dạng JSON |
{
"id": string,
"applicationId": string,
"timestamp": string,
"customerId": string,
"kind": string,
"provisions": [
{
object (Provisions )
}
],
"expiries": [
{
object (Expiries )
}
],
"reassignments": [
{
object (Reassignments )
}
],
"deletes": [
{
object (Deletes )
}
]
} |
Trường |
id |
string
Mã của thông báo về giấy phép.
|
applicationId |
string
Mã của ứng dụng theo thông báo này.
|
timestamp |
string (int64 format)
Thời gian xảy ra sự kiện, tính bằng mili giây kể từ thời gian bắt đầu của hệ thống UNIX.
|
customerId |
string
Tên miền của khách hàng tương ứng với thông báo này.
|
kind |
string
Loại tài nguyên API. Mã này luôn là appsmarket#licenseNotification.
|
provisions[] |
object (Provisions )
Danh sách thông báo cấp phép.
|
expiries[] |
object (Expiries )
Danh sách thông báo hết hạn.
|
reassignments[] |
object (Reassignments )
Danh sách thông báo chỉ định lại.
|
deletes[] |
object (Deletes )
Danh sách thông báo xoá.
|
Quy định
Biểu diễn dưới dạng JSON |
{
"kind": string,
"editionId": string,
"seatCount": string
} |
Trường |
kind |
string
|
editionId (deprecated) |
string
(Không dùng nữa)
|
seatCount |
string (int64 format)
Số lượng chỗ ngồi đã được phân bổ.
|
Ngày hết hạn
Biểu diễn dưới dạng JSON |
{
"kind": string,
"editionId": string
} |
Trường |
kind |
string
|
editionId (deprecated) |
string
(Không dùng nữa)
|
Giao lại
Biểu diễn dưới dạng JSON |
{
"kind": string,
"userId": string,
"type": string,
"editionId": string
} |
Trường |
kind |
string
|
userId |
string
Địa chỉ email của người dùng được chỉ định lại.
|
type |
string
|
editionId (deprecated) |
string
(Không dùng nữa)
|
Xóa
Biểu diễn dưới dạng JSON |
{
"kind": string,
"editionId": string
} |
Trường |
kind |
string
|
editionId (deprecated) |
string
(Không dùng nữa)
|
Phương thức |
list (deprecated)
|
Ngừng sử dụng: Bạn có thể theo dõi các sự kiện cài đặt do người dùng khởi tạo thông qua Google Analytics. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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). |"]]