Class SitesResource
The "sites" collection of methods.
Inherited Members
Namespace: Google.Apis.SearchConsole .v1
Assembly: Google.Apis.SearchConsole.v1.dll
Syntax
public class SitesResource
Constructors
SitesResource(IClientService)
Constructs a new resource.
Declaration
public SitesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClient |
service |
Methods
Add(string)
Adds a site to the set of the user's sites in Search Console.
Declaration
public virtual SitesResource.AddRequest Add(string siteUrl)
Parameters
Type | Name | Description |
---|---|---|
string | siteUrl | The URL of the site to add. |
Returns
Type | Description |
---|---|
Sites |
Delete(string)
Removes a site from the set of the user's Search Console sites.
Declaration
public virtual SitesResource.DeleteRequest Delete(string siteUrl)
Parameters
Type | Name | Description |
---|---|---|
string | siteUrl | The URI of the property as defined in Search Console. Examples: |
Returns
Type | Description |
---|---|
Sites |
Get(string)
Retrieves information about specific site.
Declaration
public virtual SitesResource.GetRequest Get(string siteUrl)
Parameters
Type | Name | Description |
---|---|---|
string | siteUrl | The URI of the property as defined in Search Console. Examples: |
Returns
Type | Description |
---|---|
Sites |
List()
Lists the user's Search Console sites.
Declaration
public virtual SitesResource.ListRequest List()
Returns
Type | Description |
---|---|
Sites |