Class SitemapsResource.ListRequest
Lists the sitemaps-entries submitted for this site, or included in the
sitemap index file (if sitemapIndex
is specified in the request).
Inheritance
SitemapsResource.ListRequest
Inherited Members
Namespace: Google.Apis.SearchConsole.v1
Assembly: Google.Apis.SearchConsole.v1.dll
Syntax
public class SitemapsResource.ListRequest : SearchConsoleBaseServiceRequest<SitemapsListResponse>, IClientServiceRequest<SitemapsListResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string siteUrl)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | siteUrl |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
SiteUrl
The site's URL, including protocol. For example: http://www.example.com/
.
Declaration
[RequestParameter("siteUrl", RequestParameterType.Path)]
public virtual string SiteUrl { get; }
Property Value
Type | Description |
---|---|
string |
SitemapIndex
A URL of a site's sitemap index. For example: http://www.example.com/sitemapindex.xml
.
Declaration
[RequestParameter("sitemapIndex", RequestParameterType.Query)]
public virtual string SitemapIndex { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()