Method: projects.locations.collections.dataStores.siteSearchEngine.getUriPatternDocumentData

取得進階站內搜尋 DataStore 的 URI 模式至文件資料對應。

HTTP 要求

GET https://discoveryengine.googleapis.com/v1alpha/{siteSearchEngine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:getUriPatternDocumentData

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

路徑參數

參數
siteSearchEngine

string

這是必要旗標,SiteSearchEngine 的完整資源名稱,例如 projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine

要求主體

要求主體必須為空白。

回應主體

SiteSearchEngineService.GetUriPatternDocumentData 方法的回應訊息。

如果成功,回應主體會含有以下結構的資料:

JSON 表示法
{
  "documentDataMap": {
    string: {
      object
    },
    ...
  }
}
欄位
documentDataMap

map (key: string, value: object (Struct format))

以 URI 模式為索引鍵的文件資料。例如:documentDataMap = { "www.url1.com/*": { "Categories": ["category1", "category2"] }, "www.url2.com/*": { "Categories": ["category3"] } }

授權範圍

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

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

詳情請參閱Authentication Overview