Class ProjectsResource.LocationsResource.RegistrationsResource.DeleteRequest
Deletes a Registration
resource. This method works on any Registration
resource using
Subscription or Commitment billing, provided that the resource
was created at least 1 day in the past. When an active registration is successfully deleted, you can
continue to use the domain in Google Domains until it expires. The
calling user becomes the domain's sole owner in Google Domains, and permissions for the domain are
subsequently managed there. The domain does not renew automatically unless the new owner sets up
billing in Google Domains. After January 2024 you will only be able to delete Registration
resources when state
is one of: EXPORTED
, EXPIRED
,REGISTRATION_FAILED
or TRANSFER_FAILED
.
See Cloud Domains feature
deprecation for more
details.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudDomains.v1alpha2
Assembly: Google.Apis.CloudDomains.v1alpha2.dll
Syntax
public class ProjectsResource.LocationsResource.RegistrationsResource.DeleteRequest : CloudDomainsBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, string)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
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
Name
Required. The name of the Registration
to delete, in the format
projects/*/locations/*/registrations/*
.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { 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 Delete parameter list.
Declaration
protected override void InitParameters()