Class DomainsResource.GetVerificationTokenRequest
Developer Preview: Gets a verification token used for verifying a user's ownership over a domain.
Inheritance
DomainsResource.GetVerificationTokenRequest
Inherited Members
Namespace: Google.Apis.PostmasterTools.v2
Assembly: Google.Apis.PostmasterTools.v2.dll
Syntax
public class DomainsResource.GetVerificationTokenRequest : PostmasterToolsBaseServiceRequest<DomainVerificationToken>, IClientServiceRequest<DomainVerificationToken>, IClientServiceRequest
Constructors
GetVerificationTokenRequest(IClientService, string)
Constructs a new GetVerificationToken request.
Declaration
public GetVerificationTokenRequest(IClientService service, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | name |
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
Name
Required. The resource name of the verification token to retrieve. Format:
domains/{domain}/verificationToken
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
VerificationMethod
Required. The verification method used. Must be specified, i.e. TXT or CNAME.
Declaration
[RequestParameter("verificationMethod", RequestParameterType.Query)]
public virtual DomainsResource.GetVerificationTokenRequest.VerificationMethodEnum? VerificationMethod { get; set; }
Property Value
| Type | Description |
|---|---|
| DomainsResource.GetVerificationTokenRequest.VerificationMethodEnum? |
Methods
InitParameters()
Initializes GetVerificationToken parameter list.
Declaration
protected override void InitParameters()