Required. The parent data store resource name for which to import denylist entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*.
Request body
The request body contains data with the following structure:
JSON representation
{// Union field source can be only one of the following:"inlineSource": {object (InlineSource)},"gcsSource": {object (GcsSource)}// End of list of possible types for union field source.}
Fields
Union field source. The source of the updated SuggestionDenyList. source can be only one of the following:
inlineSource
object (InlineSource)
The Inline source for the input content for suggestion deny list entries.
Only 1 file can be specified that contains all entries to import. Supported values gcsSource.schema for autocomplete suggestion deny list entry imports:
suggestion_deny_list (default): One JSON [SuggestionDenyListEntry] per line.
Response body
If successful, the response body contains an instance of Operation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-27 UTC."],[[["Imports all `SuggestionDenyListEntry` items for a specified DataStore using a POST request to the given URL."],["Requires a `parent` path parameter to identify the data store for which the deny list entries should be imported."],["The request body allows for either an `inlineSource` or `gcsSource` to specify the source of the deny list entries to import, with supported values of `suggestion_deny_list` in the Gcs Source."],["Successful imports will return an Operation instance in the response body, representing an ongoing operation."],["Authorization requires the `https://www.googleapis.com/auth/cloud-platform` OAuth scope and `discoveryengine.suggestionDenyListEntries.import` IAM permission on the `parent` resource."]]],[]]