Menghapus item dari koleksi.
Permintaan HTTP
POST https://visionai.googleapis.com/v1/{item.collection=projects/*/locations/*/corpora/*/collections/*}:removeCollectionItem
URL menggunakan sintaks gRPC Transcoding.
Parameter jalur
Parameter | |
---|---|
item.collection |
Wajib. Nama koleksi tempat item ini berada. Format: |
Isi permintaan
Isi permintaan memuat data dengan struktur berikut:
Representasi JSON |
---|
{
"item": {
"collection": string,
"type": enum ( |
Kolom | |
---|---|
item.type |
Wajib. Jenis item. |
item.itemResource |
Wajib. Nama CollectionItem. Formatnya bergantung pada |
Isi respons
Pesan permintaan untuk collections.removeCollectionItem.
Jika berhasil, isi respons memuat data dengan struktur berikut:
Representasi JSON |
---|
{
"item": {
object ( |
Kolom | |
---|---|
item |
Item yang telah dihapus. |
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/cloud-platform
Untuk mengetahui informasi selengkapnya, lihat Ringkasan Autentikasi.