Discovery Engine API (discoveryengine:v1alpha)

2023-10-11

2 new methods

Additions

    Methods
  • discoveryengine.projects.locations.collections.engines.servingConfigs.search

      Path: v1alpha/{+servingConfig}:search

      Flat Path: v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/servingConfigs/{servingConfigsId}:search

      HTTP Method: POST

      Parameters:

        servingConfig

          Description: Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.

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

          Location: path

          Required: Yes

          Type: string

      Parameter Order: servingConfig

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

      Description: Performs a search.

  • discoveryengine.projects.locations.collections.engines.servingConfigs.recommend

      Path: v1alpha/{+servingConfig}:recommend

      Flat Path: v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/servingConfigs/{servingConfigsId}:recommend

      HTTP Method: POST

      Parameters:

        servingConfig

          Description: Required. Full resource name of the format: `projects/*/locations/global/collections/*/dataStores/*/servingConfigs/*` Before you can request recommendations from your model, you must create at least one serving config for it.

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

          Location: path

          Required: Yes

          Type: string

      Parameter Order: servingConfig

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

      Description: Makes a recommendation, which requires a contextual user event.