public class SearchConsole.Sites extends Object
Modifier and Type | Class and Description |
---|---|
class |
SearchConsole.Sites.Add |
class |
SearchConsole.Sites.Delete |
class |
SearchConsole.Sites.Get |
class |
SearchConsole.Sites.List |
Constructor and Description |
---|
Sites() |
Modifier and Type | Method and Description |
---|---|
SearchConsole.Sites.Add |
add(String siteUrl)
Adds a site to the set of the user's sites in Search Console.
|
SearchConsole.Sites.Delete |
delete(String siteUrl)
Removes a site from the set of the user's Search Console sites.
|
SearchConsole.Sites.Get |
get(String siteUrl)
Retrieves information about specific site.
|
SearchConsole.Sites.List |
list()
Lists the user's Search Console sites.
|
public SearchConsole.Sites.Add add(String siteUrl) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.siteUrl
- The URL of the site to add.IOException
public SearchConsole.Sites.Delete delete(String siteUrl) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.siteUrl
- The URI of the property as defined in Search Console. **Examples:** `http://www.example.com/` or
`sc-domain:example.com`.IOException
public SearchConsole.Sites.Get get(String siteUrl) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.siteUrl
- The URI of the property as defined in Search Console. **Examples:** `http://www.example.com/` or
`sc-domain:example.com`.IOException
public SearchConsole.Sites.List list() throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.IOException
Copyright © 2011–2023 Google. All rights reserved.