Class ProjectsResource.LocationsResource.RegistrationsResource.RetrieveAuthorizationCodeRequest
Gets the authorization code of the Registration
for the purpose of transferring the domain to
another registrar. You can call this method only after 60 days have elapsed since the initial domain
registration. Domains that have the REQUIRE_PUSH_TRANSFER
property in the list of
domain_properties
don't support authorization codes and must use the InitiatePushTransfer
method
to initiate the process to transfer the domain to a different registrar.
Inheritance
ProjectsResource.LocationsResource.RegistrationsResource.RetrieveAuthorizationCodeRequest
Inherited Members
Namespace: Google.Apis.CloudDomains.v1
Assembly: Google.Apis.CloudDomains.v1.dll
Syntax
public class ProjectsResource.LocationsResource.RegistrationsResource.RetrieveAuthorizationCodeRequest : CloudDomainsBaseServiceRequest<AuthorizationCode>, IClientServiceRequest<AuthorizationCode>, IClientServiceRequest
Constructors
RetrieveAuthorizationCodeRequest(IClientService, string)
Constructs a new RetrieveAuthorizationCode request.
Declaration
public RetrieveAuthorizationCodeRequest(IClientService service, string registration)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | registration |
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
Registration
Required. The name of the Registration
whose authorization code is being retrieved, in the
format projects/*/locations/*/registrations/*
.
Declaration
[RequestParameter("registration", RequestParameterType.Path)]
public virtual string Registration { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes RetrieveAuthorizationCode parameter list.
Declaration
protected override void InitParameters()