- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Matcher
- UrisMatcher
- SitemapMetadata
HTTP request
GET https://discoveryengine.googleapis.com/v1beta/{parent=projects/*/locations/*/dataStores/*/siteSearchEngine}/sitemaps:fetch
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. Parent resource name of the |
Query parameters
Parameters | |
---|---|
matcher |
Optional. If specified, fetches the matching |
Request body
The request body must be empty.
Response body
Response message for SiteSearchEngineService.FetchSitemaps
method.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"sitemapsMetadata": [
{
object ( |
Fields | |
---|---|
sitemaps |
List of |
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 parent
resource:
discoveryengine.sitemaps.fetch
For more information, see the IAM documentation.
Matcher
Matcher for the Sitemap
s. Currently only supports uris matcher.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field matcher . Matcher for the Sitemap s. matcher can be only one of the following: |
|
uris |
Matcher by sitemap URIs. |
UrisMatcher
Matcher for the Sitemap
s by their uris.
JSON representation |
---|
{ "uris": [ string ] } |
Fields | |
---|---|
uris[] |
The |
SitemapMetadata
Contains a Sitemap
and its metadata.
JSON representation |
---|
{
"sitemap": {
object ( |
Fields | |
---|---|
sitemap |
The |