Class ProjectsResource.LocationsResource.RegistrationsResource.TransferRequest
Transfers a domain name from another registrar to Cloud Domains. For domains already managed by
Google Domains, use ImportDomain
instead. Before calling this method,
go to the domain's current registrar to unlock the domain for transfer and retrieve the domain's
transfer authorization code. Then call RetrieveTransferParameters
to confirm that the domain is
unlocked and to get values needed to build a call to this method. A successful call creates a
Registration
resource in state TRANSFER_PENDING
. It can take several days to complete the
transfer process. The registrant can often speed up this process by approving the transfer through
the current registrar, either by clicking a link in an email from the registrar or by visiting the
registrar's website. A few minutes after transfer approval, the resource transitions to state
ACTIVE
, indicating that the transfer was successful. If the transfer is rejected or the request
expires without being approved, the resource can end up in state TRANSFER_FAILED
. If transfer
fails, you can safely delete the resource and retry the transfer.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudDomains.v1alpha2
Assembly: Google.Apis.CloudDomains.v1alpha2.dll
Syntax
public class ProjectsResource.LocationsResource.RegistrationsResource.TransferRequest : CloudDomainsBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
TransferRequest(IClientService, TransferDomainRequest, string)
Constructs a new Transfer request.
Declaration
public TransferRequest(IClientService service, TransferDomainRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
TransferDomainRequest | body | |
string | parent |
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
Parent
Required. The parent resource of the Registration
. Must be in the format
projects/*/locations/*
.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Transfer parameter list.
Declaration
protected override void InitParameters()