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

更新 TargetSite

HTTP 要求

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

這個網址使用 gRPC 轉碼語法。

路徑參數

參數
targetSite.name

string

僅供輸出。目標網站的完整資源名稱。projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}/siteSearchEngine/targetSites/{targetSite} target_site_id 是由系統產生。

要求主體

要求主體包含 TargetSite 的執行個體。

回應主體

如果成功,回應主體會包含 Operation 的執行個體。

授權範圍

需要下列其中一種 OAuth 範圍:

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

詳情請參閱Authentication Overview

IAM 權限

需要 name 資源的下列 IAM 權限:

  • discoveryengine.targetSites.update

詳情請參閱 IAM 說明文件