Method: projects.locations.collections.dataStores.siteSearchEngine.recrawlUris
Stay organized with collections
Save and categorize content based on your preferences.
Request on-demand recrawl for a list of URIs.
HTTP request
POST https://discoveryengine.googleapis.com/v1beta/{siteSearchEngine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:recrawlUris
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 contains data with the following structure:
JSON representation |
{
"uris": [
string
],
"siteCredential": string
} |
Fields |
uris[] |
string
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 TargetSite in siteSearchEngine .
|
siteCredential |
string
Optional. Credential id to use for crawling.
|
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-03 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-03 UTC."],[[["This endpoint facilitates on-demand recrawling of specific URIs within a designated `siteSearchEngine`."],["The HTTP request to initiate recrawling is a `POST` to a specific URL with gRPC Transcoding syntax, targeting a `siteSearchEngine` resource."],["The request body must include a list of up to 10,000 URIs to recrawl, with each URI matching a `TargetSite` within the specified `siteSearchEngine`."],["Successful requests return an `Operation` instance, indicating the start of the recrawling process."],["Access to this functionality requires OAuth scope `https://www.googleapis.com/auth/cloud-platform` and the IAM permission `discoveryengine.siteSearchEngines.recrawlUris`."]]],[]]