Request on-demand recrawl for a list of URIs.
HTTP request
POST https://discoveryengine.googleapis.com/v1alpha/{siteSearchEngine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:recrawlUris
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
site |
Required. Full resource name of the |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "uris": [ string ], "siteCredential": string } |
Fields | |
---|---|
uris[] |
Required. List of URIs to crawl. At most 10K URIs are supported, otherwise an INVALID_ARGUMENT error is thrown. Each URI should match at least one |
site |
Optional. Full resource name of the |
Response body
If successful, the response body contains an instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the siteSearchEngine
resource:
discoveryengine.siteSearchEngines.recrawlUris
For more information, see the IAM documentation.