Method: projects.locations.collections.dataStores.completionSuggestions.import

DataStore の CompletionSuggestion をインポートします。

HTTP リクエスト

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

この URL では gRPC Transcoding 構文を使用します。

パスパラメータ

パラメータ
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)

候補エントリのインライン ソース。

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 をご覧ください。