Class SitesResource.AddRequest
Adds a site to the set of the user's sites in Search Console.
Inheritance
SitesResource.AddRequest
Inherited Members
Namespace: Google.Apis.SearchConsole.v1
Assembly: Google.Apis.SearchConsole.v1.dll
Syntax
public class SitesResource.AddRequest : SearchConsoleBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequest
Constructors
AddRequest(IClientService, string)
Constructs a new Add request.
Declaration
public AddRequest(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 URL of the site to add.
Declaration
[RequestParameter("siteUrl", RequestParameterType.Path)]
public virtual string SiteUrl { get; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes Add parameter list.
Declaration
protected override void InitParameters()