Class ProjectsResource.LocationsResource.RegistrationsResource.RenewDomainRequest
Renews a recently expired domain. This method can only be called on domains that expired in the
previous 30 days. After the renewal, the new expiration time of the domain is one year after the old
expiration time and you are charged a yearly_price
for the renewal.
Inheritance
ProjectsResource.LocationsResource.RegistrationsResource.RenewDomainRequest
Inherited Members
Namespace: Google.Apis.CloudDomains.v1
Assembly: Google.Apis.CloudDomains.v1.dll
Syntax
public class ProjectsResource.LocationsResource.RegistrationsResource.RenewDomainRequest : CloudDomainsBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
RenewDomainRequest(IClientService, RenewDomainRequest, string)
Constructs a new RenewDomain request.
Declaration
public RenewDomainRequest(IClientService service, RenewDomainRequest body, string registration)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
RenewDomainRequest | body | |
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
whish is being renewed, 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
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes RenewDomain parameter list.
Declaration
protected override void InitParameters()