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

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







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












com.google.api.services.webmasters

Class Webmasters.Sites

  • Enclosing class:
    Webmasters


    public class Webmasters.Sites
    extends Object
    The "sites" collection of methods.
    • Constructor Detail

      • Sites

        public Sites()
    • Method Detail

      • add

        public Webmasters.Sites.Add add(String siteUrl)
                                 throws IOException
        Adds a site to the set of the user's sites in Search Console. Create a request for the method "sites.add". 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 URL of the site to add.
        Returns:
        the request
        Throws:
        IOException
      • delete

        public Webmasters.Sites.Delete delete(String siteUrl)
                                       throws IOException
        Removes a site from the set of the user's Search Console sites. Create a request for the method "sites.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 URI of the property as defined in Search Console. Examples: http://www.example.com/ or android- app://com.example/ Note: for property-sets, use the URI that starts with sc-set: which is used in Search Console URLs.
        Returns:
        the request
        Throws:
        IOException
      • get

        public Webmasters.Sites.Get get(String siteUrl)
                                 throws IOException
        Retrieves information about specific site. Create a request for the method "sites.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 URI of the property as defined in Search Console. Examples: http://www.example.com/ or android- app://com.example/ Note: for property-sets, use the URI that starts with sc-set: which is used in Search Console URLs.
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2019 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy