Registration class
The Registration
resource facilitates managing and configuring domain name
registrations.
There are several ways to create a new Registration
resource: To create a
new Registration
resource, find a suitable domain name by calling the
SearchDomains
method with a query to see available domain name options.
After choosing a name, call RetrieveRegisterParameters
to ensure
availability and obtain information like pricing, which is needed to build a
call to RegisterDomain
. Another way to create a new Registration
is to
transfer an existing domain from another registrar (Deprecated: For more
information, see
Cloud Domains feature deprecation).
First, go to the 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 TransferDomain
. Finally, you can
create a new Registration
by importing an existing domain managed with
Google Domains (Deprecated: For more information,
see
Cloud Domains feature deprecation).
First, call RetrieveImportableDomains
to list domains to which the calling
user has sufficient access. Then call ImportDomain
on any domain names you
want to use with Cloud Domains.
Constructors
-
Registration({ContactSettings? contactSettings, String? createTime, DnsSettings? dnsSettings, String? domainName, String? expireTime, List<
String> ? issues, Map<String, String> ? labels, ManagementSettings? managementSettings, String? name, ContactSettings? pendingContactSettings, String? registerFailureReason, String? state, List<String> ? supportedPrivacy, String? transferFailureReason}) - Registration.fromJson(Map json_)
Properties
- contactSettings ↔ ContactSettings?
-
Settings for contact information linked to the
Registration
.getter/setter pair - createTime ↔ String?
-
The creation timestamp of the
Registration
resource.getter/setter pair - dnsSettings ↔ DnsSettings?
-
Settings controlling the DNS configuration of the
Registration
.getter/setter pair - domainName ↔ String?
-
The domain name.
getter/setter pair
- expireTime ↔ String?
-
The expiration timestamp of the
Registration
.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
-
issues
↔ List<
String> ? -
The set of issues with the
Registration
that require attention.getter/setter pair -
labels
↔ Map<
String, String> ? -
Set of labels associated with the
Registration
.getter/setter pair - managementSettings ↔ ManagementSettings?
-
Settings for management of the
Registration
, including renewal, billing, and transfer.getter/setter pair - name ↔ String?
-
Name of the
Registration
resource, in the formatprojects / * /locations / * /registrations/
.getter/setter pair - pendingContactSettings ↔ ContactSettings?
-
Pending contact settings for the
Registration
.getter/setter pair - registerFailureReason ↔ String?
-
The reason the domain registration failed.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state ↔ String?
-
The state of the
Registration
getter/setter pair -
supportedPrivacy
↔ List<
String> ? -
Set of options for the
contact_settings.privacy
field that thisRegistration
supports.getter/setter pair - transferFailureReason ↔ String?
-
Deprecated: For more information, see
Cloud Domains feature deprecation.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited