Deprecated: For more information, see Cloud Domains feature deprecation
Imports a domain name from Google Domains for use in Cloud Domains.
To transfer a domain from another registrar, use the registrations.transfer
method instead.
Since individual users can own domains in Google Domains, the calling user must have ownership permission on the domain.
HTTP request
POST https://domains.googleapis.com/v1/{parent=projects/*/locations/*}/registrations:import
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent resource of the Registration. Must be in the format Authorization requires the following IAM permission on the specified resource
|
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "domainName": string, "labels": { string: string, ... } } |
Fields | |
---|---|
domainName |
Required. The domain name. Unicode domain names must be expressed in Punycode format. |
labels |
Set of labels associated with the An object containing a list of |
Response body
If successful, the response body contains an instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.