GroupItems
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Representasi resource
Struktur JSON di bawah menunjukkan format resource groupItems
:
{
"kind": "youtube#groupItem",
"etag": etag,
"id": string,
"groupId": string,
"resource": {
"kind": string,
"id": string
}
}
Properti
Tabel berikut menentukan properti yang muncul di resource ini:
Properti |
kind |
string
Mengidentifikasi jenis resource API. Nilainya akan menjadi youtube#groupItem . |
etag |
etag
Etag resource ini. |
id |
string
ID yang digunakan YouTube untuk mengidentifikasi secara unik resource channel , video , playlist , atau asset yang disertakan dalam grup. Perhatikan bahwa ID ini merujuk secara khusus pada penyertaan aset tersebut dalam grup tertentu dan berbeda dengan ID channel, ID video, ID playlist, atau ID aset yang mengidentifikasi sumber daya itu sendiri secara unik. Nilai properti resource.id menentukan ID channel, video, playlist, atau aset yang unik. |
groupId |
string
ID yang digunakan YouTube untuk mengidentifikasi secara unik grup yang berisi item. |
resource |
object
Objek resource berisi informasi yang mengidentifikasi item yang ditambahkan ke grup. |
resource.kind |
string
Mengidentifikasi jenis resource yang ditambahkan ke grup.
Nilai yang valid untuk properti ini adalah:
youtube#channel
youtube#playlist
youtube#video
youtubePartner#asset
|
resource.id |
string
ID channel, video, playlist, atau aset yang digunakan YouTube untuk mengidentifikasi item yang ditambahkan ke grup secara unik. |
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-11-09 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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"]]