Method: projects.locations.notebooks.sources.batchDelete

Menghapus beberapa sumber

Permintaan HTTP

POST https://discoveryengine.googleapis.com/v1alpha/{parent=projects/*/locations/*/notebooks/*}/sources:batchDelete

URL menggunakan sintaks gRPC Transcoding.

Parameter jalur

Parameter
parent

string

Wajib. Resource induk tempat sumber akan dihapus. Format: projects/{project}/locations/{location}/notebooks/{notebook}

Isi permintaan

Isi permintaan memuat data dengan struktur berikut:

Representasi JSON
{
  "names": [
    string
  ]
}
Kolom
names[]

string

Wajib. Nama sumber yang akan dihapus. Format: projects/{project}/locations/{location}/notebooks/{notebook}/sources/{source}

Isi respons

Jika berhasil, isi respons adalah objek JSON kosong.

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 parent:

  • discoveryengine.sources.delete

Untuk mengetahui informasi selengkapnya, lihat dokumentasi IAM.