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
System.Object
SitemapsResource.ListRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.SearchConsole.v1
Assembly: Google.Apis.SearchConsole.v1.dll
Syntax
public class 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 | |
| System.String | siteUrl |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.SearchConsole.v1.Data.SitemapsListResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.SearchConsole.v1.Data.SitemapsListResponse>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.SearchConsole.v1.Data.SitemapsListResponse>.RestPath
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 |
|---|---|
| System.String |
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 |
|---|---|
| System.String |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.SearchConsole.v1.SearchConsoleBaseServiceRequest<Google.Apis.SearchConsole.v1.Data.SitemapsListResponse>.InitParameters()