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

ManagementSettings

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

Defines renewal, billing, and transfer settings for a Registration.

interface ManagementSettings {
preferredRenewalMethod?:
| "RENEWAL_METHOD_UNSPECIFIED"
| "AUTOMATIC_RENEWAL"
| "MANUAL_RENEWAL"
| "RENEWAL_DISABLED";
readonly renewalMethod?:
| "RENEWAL_METHOD_UNSPECIFIED"
| "AUTOMATIC_RENEWAL"
| "MANUAL_RENEWAL"
| "RENEWAL_DISABLED";
transferLockState?: "TRANSFER_LOCK_STATE_UNSPECIFIED" | "UNLOCKED" | "LOCKED";
}

§Properties

§
preferredRenewalMethod?: "RENEWAL_METHOD_UNSPECIFIED" | "AUTOMATIC_RENEWAL" | "MANUAL_RENEWAL" | "RENEWAL_DISABLED"
[src]

Optional. The desired renewal method for this Registration. The actual renewal_method is automatically updated to reflect this choice. If unset or equal to RENEWAL_METHOD_UNSPECIFIED, the actual renewalMethod is treated as if it were set to AUTOMATIC_RENEWAL. You cannot use RENEWAL_DISABLED during resource creation, and you can update the renewal status only when the Registration resource has state ACTIVE or SUSPENDED. When preferred_renewal_method is set to AUTOMATIC_RENEWAL, the actual renewal_method can be set to RENEWAL_DISABLED in case of problems with the billing account or reported domain abuse. In such cases, check the issues field on the Registration. After the problem is resolved, the renewal_method is automatically updated to preferred_renewal_method in a few hours.

§
readonly renewalMethod?: "RENEWAL_METHOD_UNSPECIFIED" | "AUTOMATIC_RENEWAL" | "MANUAL_RENEWAL" | "RENEWAL_DISABLED"
[src]

Output only. The actual renewal method for this Registration. When preferred_renewal_method is set to AUTOMATIC_RENEWAL, the actual renewal_method can be equal to RENEWAL_DISABLED—for example, when there are problems with the billing account or reported domain abuse. In such cases, check the issues field on the Registration. After the problem is resolved, the renewal_method is automatically updated to preferred_renewal_method in a few hours.

§
transferLockState?: "TRANSFER_LOCK_STATE_UNSPECIFIED" | "UNLOCKED" | "LOCKED"
[src]

Controls whether the domain can be transferred to another registrar.