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

RetentionSettings

import type { RetentionSettings } from "https://googleapis.deno.dev/v1/redis:v1.ts";
interface RetentionSettings {
quantityBasedRetention?: number;
retentionUnit?:
| "RETENTION_UNIT_UNSPECIFIED"
| "COUNT"
| "TIME"
| "RETENTION_UNIT_OTHER";
timeBasedRetention?: number;
}

§Properties

§
quantityBasedRetention?: number
[src]
§
retentionUnit?: "RETENTION_UNIT_UNSPECIFIED" | "COUNT" | "TIME" | "RETENTION_UNIT_OTHER"
[src]

The unit that 'retained_backups' represents.

§
timeBasedRetention?: number
[src]