获取高级网站搜索数据存储区的 URI 模式到文档数据映射。
HTTP 请求
GET https://discoveryengine.googleapis.com/v1alpha/{siteSearchEngine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:getUriPatternDocumentData
网址采用 gRPC 转码语法。
路径参数
参数 | |
---|---|
siteSearchEngine |
必需。 |
请求正文
请求正文必须为空。
响应正文
SiteSearchEngineService.GetUriPatternDocumentData
方法的响应消息。
如果成功,响应正文将包含结构如下的数据:
JSON 表示法 |
---|
{ "documentDataMap": { string: { object }, ... } } |
字段 | |
---|---|
documentDataMap |
以 URI 模式为键的文档数据。例如:documentDataMap = { "www.url1.com/*": { "Categories": ["category1", "category2"] }, "www.url2.com/*": { "Categories": ["category3"] } } |
授权范围
需要以下 OAuth 范围之一:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/discoveryengine.readwrite
如需了解详情,请参阅 Authentication Overview。