Discovery Engine API (discoveryengine:v1alpha)

2025-02-18

1 new method

Additions

    Methods
  • discoveryengine.projects.locations.collections.engines.completionConfig.removeSuggestion

      Path : v1alpha/{+completionConfig}:removeSuggestion

      Flat Path : v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/completionConfig:removeSuggestion

      HTTP Method : POST

      Parameters :

        completionConfig

          Description : Required. The completion_config of the parent engine resource name for which the search history suggestion is to be removed, such as `projects/*/locations/global/collections/default_collection/engines/*/completionConfig`.

          Pattern : ^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/completionConfig$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : completionConfig

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Description : Removes the search history suggestion in an engine for a user. This will remove the suggestion from being returned in the AdvancedCompleteQueryResponse.recent_search_suggestions for this user. If the user searches the same suggestion again, the new history will override and suggest this suggestion again.