Method: projects.locations.collections.dataStores.siteSearchEngine.sitemaps.create

Membuat Sitemap.

Permintaan HTTP

POST https://discoveryengine.googleapis.com/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/sitemaps

URL menggunakan sintaks gRPC Transcoding.

Parameter jalur

Parameter
parent

string

Wajib. Nama resource induk SiteSearchEngine, seperti projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine.

Isi permintaan

Isi permintaan memuat instance Sitemap.

Isi respons

Jika berhasil, isi respons memuat instance Operation yang baru dibuat.

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.sitemaps.create

Untuk mengetahui informasi selengkapnya, lihat dokumentasi IAM.