Bảng sau đây xác định các thuộc tính xuất hiện trong tài nguyên này:
Thuộc tính
kind
string Xác định loại tài nguyên API. Giá trị sẽ là youtube#groupItem.
etag
etag
Etag của tài nguyên này.
id
string
Mã nhận dạng mà YouTube sử dụng để xác định duy nhất tài nguyên channel, video, playlist hoặc asset có trong nhóm. Xin lưu ý rằng mã này đề cập cụ thể đến việc đưa tài nguyên đó vào một nhóm cụ thể và khác với mã nhận dạng kênh, mã video, mã danh sách phát hoặc mã tài sản giúp nhận dạng duy nhất tài nguyên đó. Giá trị của thuộc tính resource.id chỉ định kênh, video, danh sách phát hoặc mã tài sản duy nhất.
groupId
string
Mã nhận dạng mà YouTube sử dụng để nhận dạng duy nhất nhóm chứa mặt hàng.
resource
object
Đối tượng resource chứa thông tin giúp xác định mặt hàng sẽ được thêm vào nhóm.
resource.kind
string
Xác định loại tài nguyên đang được thêm vào nhóm.
Các giá trị hợp lệ cho thuộc tính này là:
youtube#channel
youtube#playlist
youtube#video
youtubePartner#asset
resource.id
string
Mã nhận dạng kênh, video, danh sách phát hoặc tài sản mà YouTube dùng để xác định riêng biệt mục được thêm vào nhóm.
[null,null,["Cập nhật lần gần đây nhất: 2024-11-09 UTC."],[[["The YouTube Analytics API provides methods to manage group items, enabling you to list, insert, and delete them within groups."],["Group items associate a YouTube resource like a channel, video, or playlist with a specific group for analysis."],["Each group item is uniquely identified by an ID and contains information about the resource it links to and the group it belongs to."],["The API uses a JSON structure to represent group items, including properties like `kind`, `etag`, `id`, `groupId`, and `resource`."],["The `resource` property within a group item further specifies the type and unique ID of the linked YouTube resource (channel, video, playlist, or asset)."]]],["The API for `groupItems` resources supports listing, inserting, and deleting items. `groupItems` contain properties like `kind`, `etag`, `id`, and `groupId`. The `resource` object within a `groupItem` identifies the item, specifying its `kind` (channel, playlist, video, or asset) and its unique `id`. The `id` in groupItem identifies a specific resource within a group and is different than the resources' ID, while the `groupId` is the identifier for the group containing the item.\n"]]