Method: projects.locations.collections.dataStores.siteSearchEngine.getUriPatternDocumentData

Gets the URI Pattern to Document data mapping for an Advanced Site Search DataStore.

HTTP request

GET https://discoveryengine.googleapis.com/v1alpha/{siteSearchEngine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:getUriPatternDocumentData

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
siteSearchEngine

string

Required. Full resource name of the SiteSearchEngine, such as projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine.

Request body

The request body must be empty.

Response body

Response message for SiteSearchEngineService.GetUriPatternDocumentData method.

If successful, the response body contains data with the following structure:

JSON representation
{
  "documentDataMap": {
    string: {
      object
    },
    ...
  }
}
Fields
documentDataMap

map (key: string, value: object (Struct format))

Document data keyed by URI pattern. For example: documentDataMap = { "www.url1.com/*": { "Categories": ["category1", "category2"] }, "www.url2.com/*": { "Categories": ["category3"] } }

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.