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-02-28 UTC."],[[["This endpoint imports `SuggestionDenyListEntry` data for a specified DataStore via a POST request to a URL that follows gRPC Transcoding syntax."],["The request requires a `parent` path parameter indicating the DataStore resource, and the request body must specify the source of the `SuggestionDenyList` data either as `inlineSource` or `gcsSource`."],["The data that will be imported can be provided either as an inline object in the `inlineSource` field, or from a Cloud Storage location specified by the `gcsSource` field."],["Successful requests return an `Operation` object, while authorization requires the `https://www.googleapis.com/auth/cloud-platform` OAuth scope and the `discoveryengine.suggestionDenyListEntries.import` IAM permission on the parent resource."]]],[]]