public class SearchConsole.Sitemaps extends Object
Modifier and Type | Class and Description |
---|---|
class |
SearchConsole.Sitemaps.Delete |
class |
SearchConsole.Sitemaps.Get |
class |
SearchConsole.Sitemaps.List |
class |
SearchConsole.Sitemaps.Submit |
Constructor and Description |
---|
Sitemaps() |
Modifier and Type | Method and Description |
---|---|
SearchConsole.Sitemaps.Delete |
delete(String siteUrl,
String feedpath)
Deletes a sitemap from the Sitemaps report.
|
SearchConsole.Sitemaps.Get |
get(String siteUrl,
String feedpath)
Retrieves information about a specific sitemap.
|
SearchConsole.Sitemaps.List |
list(String siteUrl)
Lists the [sitemaps-entries](/webmaster-tools/v3/sitemaps) submitted for this site, or included
in the sitemap index file (if `sitemapIndex` is specified in the request).
|
SearchConsole.Sitemaps.Submit |
submit(String siteUrl,
String feedpath)
Submits a sitemap for a site.
|
public SearchConsole.Sitemaps.Delete delete(String siteUrl, String feedpath) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.siteUrl
- The site's URL, including protocol. For example: `http://www.example.com/`.feedpath
- The URL of the actual sitemap. For example: `http://www.example.com/sitemap.xml`.IOException
public SearchConsole.Sitemaps.Get get(String siteUrl, String feedpath) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.siteUrl
- The site's URL, including protocol. For example: `http://www.example.com/`.feedpath
- The URL of the actual sitemap. For example: `http://www.example.com/sitemap.xml`.IOException
public SearchConsole.Sitemaps.List list(String siteUrl) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.siteUrl
- The site's URL, including protocol. For example: `http://www.example.com/`.IOException
public SearchConsole.Sitemaps.Submit submit(String siteUrl, String feedpath) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.siteUrl
- The site's URL, including protocol. For example: `http://www.example.com/`.feedpath
- The URL of the actual sitemap. For example: `http://www.example.com/sitemap.xml`.IOException
Copyright © 2011–2023 Google. All rights reserved.