Method: projects.locations.collections.engines.servingConfigs.delete

Menghapus ServingConfig.

Menampilkan error NOT_FOUND jika ServingConfig tidak ada.

Permintaan HTTP

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

URL menggunakan sintaks gRPC Transcoding.

Parameter jalur

Parameter
name

string

Wajib. Nama resource ServingConfig yang akan dihapus. Format: projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{servingConfigId}

Isi permintaan

Isi permintaan harus kosong.

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

  • discoveryengine.servingConfigs.delete

Untuk mengetahui informasi selengkapnya, lihat dokumentasi IAM.