Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

RegisterParameters

import type { RegisterParameters } from "https://googleapis.deno.dev/v1/domains:v1.ts";

Parameters required to register a new domain.

interface RegisterParameters {
availability?:
| "AVAILABILITY_UNSPECIFIED"
| "AVAILABLE"
| "UNAVAILABLE"
| "UNSUPPORTED"
| "UNKNOWN";
domainName?: string;
domainNotices?: "DOMAIN_NOTICE_UNSPECIFIED" | "HSTS_PRELOADED"[];
supportedPrivacy?:
| "CONTACT_PRIVACY_UNSPECIFIED"
| "PUBLIC_CONTACT_DATA"
| "PRIVATE_CONTACT_DATA"
| "REDACTED_CONTACT_DATA"[];
yearlyPrice?: Money;
}

§Properties

§
availability?: "AVAILABILITY_UNSPECIFIED" | "AVAILABLE" | "UNAVAILABLE" | "UNSUPPORTED" | "UNKNOWN"
[src]

Indicates whether the domain is available for registration. This value is accurate when obtained by calling RetrieveRegisterParameters, but is approximate when obtained by calling SearchDomains.

§
domainName?: string
[src]

The domain name. Unicode domain names are expressed in Punycode format.

§
domainNotices?: "DOMAIN_NOTICE_UNSPECIFIED" | "HSTS_PRELOADED"[]
[src]

Notices about special properties of the domain.

§
supportedPrivacy?: "CONTACT_PRIVACY_UNSPECIFIED" | "PUBLIC_CONTACT_DATA" | "PRIVATE_CONTACT_DATA" | "REDACTED_CONTACT_DATA"[]
[src]

Contact privacy options that the domain supports.

§
yearlyPrice?: Money
[src]

Price to register or renew the domain for one year.