All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.webmasters.Webmasters.Sitemaps.html Maven / Gradle / Ivy







Webmasters.Sitemaps (Search Console API v3-rev20190428-1.30.1)












com.google.api.services.webmasters

Class Webmasters.Sitemaps

  • Enclosing class:
    Webmasters


    public class Webmasters.Sitemaps
    extends Object
    The "sitemaps" collection of methods.
    • Constructor Detail

      • Sitemaps

        public Sitemaps()
    • Method Detail

      • delete

        public Webmasters.Sitemaps.Delete delete(String siteUrl,
                                                 String feedpath)
                                          throws IOException
        Deletes a sitemap from this site. Create a request for the method "sitemaps.delete". This request holds the parameters needed by the webmasters server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        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
        Returns:
        the request
        Throws:
        IOException
      • get

        public Webmasters.Sitemaps.Get get(String siteUrl,
                                           String feedpath)
                                    throws IOException
        Retrieves information about a specific sitemap. Create a request for the method "sitemaps.get". This request holds the parameters needed by the webmasters server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        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
        Returns:
        the request
        Throws:
        IOException
      • list

        public Webmasters.Sitemaps.List list(String siteUrl)
                                      throws IOException
        Lists the sitemaps-entries submitted for this site, or included in the sitemap index file (if sitemapIndex is specified in the request). Create a request for the method "sitemaps.list". This request holds the parameters needed by the webmasters server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        siteUrl - The site's URL, including protocol. For example: http://www.example.com/
        Returns:
        the request
        Throws:
        IOException
      • submit

        public Webmasters.Sitemaps.Submit submit(String siteUrl,
                                                 String feedpath)
                                          throws IOException
        Submits a sitemap for a site. Create a request for the method "sitemaps.submit". This request holds the parameters needed by the webmasters server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        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.xml
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2019 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy