Method: projects.locations.collections.delete

Menghapus Collection.

Permintaan HTTP

DELETE https://discoveryengine.googleapis.com/v1alpha/{name=projects/*/locations/*/collections/*}

URL menggunakan sintaks gRPC Transcoding.

Parameter jalur

Parameter
name

string

Wajib. Nama resource lengkap Kumpulan, dalam format projects/{project}/locations/{location}/collections/{collection}.

Isi permintaan

Isi permintaan harus kosong.

Isi respons

Jika berhasil, isi respons akan berisi instance Operation.

Cakupan otorisasi

Memerlukan salah satu cakupan OAuth berikut:

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

Untuk mengetahui informasi selengkapnya, lihat Authentication Overview.

Izin IAM

Memerlukan izin IAM berikut pada resource name:

  • discoveryengine.collections.delete

Untuk mengetahui informasi selengkapnya, lihat dokumentasi IAM.