Imports CompletionSuggestions for a DataStore.
HTTP request
POST https://discoveryengine.googleapis.com/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*}/completionSuggestions:import
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| parent | 
 Required. The parent data store resource name for which to import customer autocomplete suggestions. Follows pattern  | 
Request body
The request body contains data with the following structure:
| JSON representation | 
|---|
| { "errorConfig": { object ( | 
| Fields | |
|---|---|
| errorConfig | 
 The desired location of errors incurred during the Import. | 
| Union field source. The source of the autocomplete suggestions.sourcecan be only one of the following: | |
| inlineSource | 
 The Inline source for suggestion entries. | 
| gcsSource | 
 Cloud Storage location for the input content. | 
| bigquerySource | 
 BigQuery input source. | 
Response body
If successful, the response body contains an instance of Operation.
Authorization scopes
Requires one of the following OAuth scopes:
- https://www.googleapis.com/auth/cloud-platform
- https://www.googleapis.com/auth/discoveryengine.readwrite
- https://www.googleapis.com/auth/discoveryengine.assist.readwrite
For more information, see the Authentication Overview.