public class Webmasters.Sitemaps extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Webmasters.Sitemaps.Delete |
class |
Webmasters.Sitemaps.Get |
class |
Webmasters.Sitemaps.List |
class |
Webmasters.Sitemaps.Submit |
| Constructor and Description |
|---|
Sitemaps() |
| Modifier and Type | Method and Description |
|---|---|
Webmasters.Sitemaps.Delete |
delete(String siteUrl,
String feedpath)
Deletes a sitemap from this site.
|
Webmasters.Sitemaps.Get |
get(String siteUrl,
String feedpath)
Retrieves information about a specific sitemap.
|
Webmasters.Sitemaps.List |
list(String siteUrl)
Lists the sitemaps-entries submitted for this site, or included in the sitemap index file (if
sitemapIndex is specified in the request).
|
Webmasters.Sitemaps.Submit |
submit(String siteUrl,
String feedpath)
Submits a sitemap for a site.
|
public Webmasters.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.xmlIOExceptionpublic Webmasters.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.xmlIOExceptionpublic Webmasters.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/IOExceptionpublic Webmasters.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 sitemap to add. For example: http://www.example.com/sitemap.xmlIOExceptionCopyright © 2011–2021 Google. All rights reserved.