Class SitemapsResource.DeleteRequest
Deletes a sitemap from the Sitemaps report. Does not stop Google from crawling this sitemap or the URLs that were previously crawled in the deleted sitemap.
Inheritance
SitemapsResource.DeleteRequest
  Inherited Members
Namespace: Google.Apis.SearchConsole.v1
Assembly: Google.Apis.SearchConsole.v1.dll
Syntax
public class SitemapsResource.DeleteRequest : SearchConsoleBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequestConstructors
DeleteRequest(IClientService, string, string)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, string siteUrl, string feedpath)Parameters
| Type | Name | Description | 
|---|---|---|
| IClientService | service | |
| string | siteUrl | |
| string | feedpath | 
Properties
Feedpath
The URL of the actual sitemap. For example: http://www.example.com/sitemap.xml.
Declaration
[RequestParameter("feedpath", RequestParameterType.Path)]
public virtual string Feedpath { get; }Property Value
| Type | Description | 
|---|---|
| string | 
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 | 
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()