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."],[[["This API call imports all `SuggestionDenyListEntry` items for a specified DataStore using a POST request to the provided URL."],["The request requires a `parent` path parameter, which is the resource name of the data store, and it must follow the format `projects/*/locations/*/collections/*/dataStores/*`."],["The request body accepts data from an `inlineSource` or a `gcsSource`, where the latter refers to a single Cloud Storage file containing all entries to import."],["Successful requests will return an instance of the `Operation` type in the response body."],["To authorize this call, you'll need the OAuth scope `https://www.googleapis.com/auth/cloud-platform` and the IAM permission `discoveryengine.suggestionDenyListEntries.import` on the parent resource."]]],[]]