匯入 DataStore 的 CompletionSuggestion。
HTTP 要求
POST https://discoveryengine.googleapis.com/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*}/completionSuggestions:import
這個網址使用 gRPC 轉碼語法。
路徑參數
| 參數 | |
|---|---|
| parent | 
 這是必要旗標,要匯入客戶自動完成建議的父項資料儲存庫資源名稱。 符合  | 
要求主體
要求主體包含下列結構的資料:
| JSON 表示法 | 
|---|
| { "errorConfig": { object ( | 
| 欄位 | |
|---|---|
| errorConfig | 
 匯入期間發生錯誤的所需位置。 | 
| 聯集欄位 source。自動完成建議的來源。source只能是下列其中一項: | |
| inlineSource | 
 建議項目的 Inline 來源。 | 
| gcsSource | 
 輸入內容的 Cloud Storage 位置。 | 
| 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。