Class ProjectsResource.LocationsResource.RegistrationsResource.RegisterRequest
Registers a new domain name and creates a corresponding Registration
resource. Call
RetrieveRegisterParameters
first to check availability of the domain name and determine parameters
like price that are needed to build a call to this method. A successful call creates a
Registration
resource in state REGISTRATION_PENDING
, which resolves to ACTIVE
within 1-2
minutes, indicating that the domain was successfully registered. If the resource ends up in state
REGISTRATION_FAILED
, it indicates that the domain was not registered successfully, and you can
safely delete the resource and retry registration.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudDomains.v1beta1
Assembly: Google.Apis.CloudDomains.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.RegistrationsResource.RegisterRequest : CloudDomainsBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
RegisterRequest(IClientService, RegisterDomainRequest, string)
Constructs a new Register request.
Declaration
public RegisterRequest(IClientService service, RegisterDomainRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
RegisterDomainRequest | 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 Register parameter list.
Declaration
protected override void InitParameters()