Method: projects.locations.productSets.removeProduct

Menghapus Produk dari ProductSet yang ditentukan.

Permintaan HTTP

POST https://vision.googleapis.com/v1/{name=projects/*/locations/*/productSets/*}:removeProduct

URL menggunakan sintaks gRPC Transcoding.

Parameter jalur

Parameter
name

string

Wajib. Nama resource untuk ProductSet yang akan diubah.

Format adalah: projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID

Isi permintaan

Isi permintaan memuat data dengan struktur berikut:

Representasi JSON
{
  "product": string
}
Kolom
product

string

Wajib. Nama resource untuk Product yang akan dihapus dari ProductSet ini.

Format adalah: projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID

Isi respons

Jika berhasil, isi respons akan kosong.

Cakupan Otorisasi

Memerlukan salah satu cakupan OAuth berikut:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/cloud-vision

Untuk mengetahui informasi selengkapnya, lihat Ringkasan Autentikasi.