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.IOExceptionpublic 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`.IOExceptionpublic 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`.IOExceptionpublic SearchConsole.Sites.List list() throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.IOExceptionCopyright © 2011–2025 Google. All rights reserved.