Class WebResourceResource.InsertRequest
Attempt verification of a website or domain.
Inheritance
WebResourceResource.InsertRequest
Inherited Members
Namespace: Google.Apis.SiteVerification.v1
Assembly: Google.Apis.SiteVerification.v1.dll
Syntax
public class WebResourceResource.InsertRequest : SiteVerificationBaseServiceRequest<SiteVerificationWebResourceResource>, IClientServiceRequest<SiteVerificationWebResourceResource>, IClientServiceRequest
Constructors
InsertRequest(IClientService, SiteVerificationWebResourceResource, string)
Constructs a new Insert request.
Declaration
public InsertRequest(IClientService service, SiteVerificationWebResourceResource body, string verificationMethod)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
SiteVerificationWebResourceResource | body | |
string | verificationMethod |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.SiteVerification.v1.Data.SiteVerificationWebResourceResource>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.SiteVerification.v1.Data.SiteVerificationWebResourceResource>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.SiteVerification.v1.Data.SiteVerificationWebResourceResource>.RestPath
VerificationMethod
The method to use for verifying a site or domain.
Declaration
[RequestParameter("verificationMethod", RequestParameterType.Query)]
public virtual string VerificationMethod { get; }
Property Value
Type | Description |
---|---|
string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.SiteVerification.v1.Data.SiteVerificationWebResourceResource>.GetBody()
InitParameters()
Initializes Insert parameter list.
Declaration
protected override void InitParameters()