Method: projects.locations.dataStores.completionSuggestions.import

匯入 DataStore 的 CompletionSuggestion

HTTP 要求

POST https://discoveryengine.googleapis.com/v1beta/{parent=projects/*/locations/*/dataStores/*}/completionSuggestions:import

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

路徑參數

參數
parent

string

這是必要旗標,要匯入客戶自動完成建議的父項資料儲存庫資源名稱。

符合 projects/*/locations/*/collections/*/dataStores/* 模式

要求主體

要求主體包含下列結構的資料:

JSON 表示法
{
  "errorConfig": {
    object (ImportErrorConfig)
  },

  // Union field source can be only one of the following:
  "inlineSource": {
    object (InlineSource)
  },
  "gcsSource": {
    object (GcsSource)
  },
  "bigquerySource": {
    object (BigQuerySource)
  }
  // End of list of possible types for union field source.
}
欄位
errorConfig

object (ImportErrorConfig)

匯入期間發生錯誤的所需位置。

聯集欄位 source。自動完成建議的來源。source 只能是下列其中一項:
inlineSource

object (InlineSource)

建議項目的 Inline 來源。

gcsSource

object (GcsSource)

輸入內容的 Cloud Storage 位置。

bigquerySource

object (BigQuerySource)

BigQuery 輸入來源。

回應主體

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

授權範圍

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

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

詳情請參閱Authentication Overview