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

BackupRetentionSettings

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

We currently only support backup retention by specifying the number of backups we will retain.

interface BackupRetentionSettings {
retainedBackups?: number;
retentionUnit?: "RETENTION_UNIT_UNSPECIFIED" | "COUNT";
}

§Properties

§
retainedBackups?: number
[src]

Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retention_unit is 'COUNT', we will retain this many backups.

§
retentionUnit?: "RETENTION_UNIT_UNSPECIFIED" | "COUNT"
[src]

The unit that 'retained_backups' represents.