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

CleanupPolicy

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

Artifact policy configuration for repository cleanup policies.

interface CleanupPolicy {
action?: "ACTION_UNSPECIFIED" | "DELETE" | "KEEP";
id?: string;
mostRecentVersions?: CleanupPolicyMostRecentVersions;
}

§Properties

§
action?: "ACTION_UNSPECIFIED" | "DELETE" | "KEEP"
[src]

Policy action.

§

Policy condition for matching versions.

§
id?: string
[src]

The user-provided ID of the cleanup policy.

§

Policy condition for retaining a minimum number of versions. May only be specified with a Keep action.