Method: projects.locations.dataStores.siteSearchEngine.targetSites.patch

Memperbarui TargetSite.

Permintaan HTTP

PATCH https://discoveryengine.googleapis.com/v1beta/{targetSite.name=projects/*/locations/*/dataStores/*/siteSearchEngine/targetSites/*}

URL menggunakan sintaks gRPC Transcoding.

Parameter jalur

Parameter
targetSite.name

string

Hanya output. Nama resource yang sepenuhnya memenuhi syarat dari situs target. projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}/siteSearchEngine/targetSites/{targetSite} target_site_id dibuat oleh sistem.

Isi permintaan

Isi permintaan memuat instance TargetSite.

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.targetSites.update

Untuk mengetahui informasi selengkapnya, lihat dokumentasi IAM.