Class ProjectsResource.LocationsResource.RegistrationsResource.ResetAuthorizationCodeRequest
Resets the authorization code of the Registration
to a new random string. 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.ResetAuthorizationCodeRequest
Inherited Members
Namespace: Google.Apis.CloudDomains.v1alpha2
Assembly: Google.Apis.CloudDomains.v1alpha2.dll
Syntax
public class ProjectsResource.LocationsResource.RegistrationsResource.ResetAuthorizationCodeRequest : CloudDomainsBaseServiceRequest<AuthorizationCode>, IClientServiceRequest<AuthorizationCode>, IClientServiceRequest
Constructors
ResetAuthorizationCodeRequest(IClientService, ResetAuthorizationCodeRequest, string)
Constructs a new ResetAuthorizationCode request.
Declaration
public ResetAuthorizationCodeRequest(IClientService service, ResetAuthorizationCodeRequest body, string registration)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ResetAuthorizationCodeRequest | 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
whose authorization code is being reset, 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 ResetAuthorizationCode parameter list.
Declaration
protected override void InitParameters()