Class SitemapsResource.SubmitRequest
Submits a sitemap for a site.
Inheritance
SitemapsResource.SubmitRequest
Inherited Members
Namespace: Google.Apis.SearchConsole.v1
Assembly: Google.Apis.SearchConsole.v1.dll
Syntax
public class SitemapsResource.SubmitRequest : SearchConsoleBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequest
Constructors
SubmitRequest(IClientService, string, string)
Constructs a new Submit request.
Declaration
public SubmitRequest(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 Submit parameter list.
Declaration
protected override void InitParameters()