Class SitemapsResource.SubmitRequest
Submits a sitemap for a site.
Inheritance
System.Object
ClientServiceRequest<System.String>
SearchConsoleBaseServiceRequest<System.String>
SitemapsResource.SubmitRequest
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 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 | |
| System.String | siteUrl | |
| System.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 |
|---|---|
| System.String |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<System.String>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<System.String>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<System.String>.RestPath
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 Submit parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.SearchConsole.v1.SearchConsoleBaseServiceRequest<System.String>.InitParameters()