Repository
import type { Repository } from "https://googleapis.deno.dev/v1/artifactregistry:v1.ts";
A Repository for storing artifacts with a specific format.
§Properties
Optional. Cleanup policies for this repository. Cleanup policies indicate when certain package versions can be automatically deleted. Map keys are policy IDs supplied by users during policy creation. They must unique within a repository and be under 128 characters in length.
Optional. If true, the cleanup pipeline is prevented from deleting versions in this repository.
Optional. If this is true, an unspecified repo type will be treated as error rather than defaulting to standard.
Docker repository config contains repository level configuration for the repositories of docker type.
Optional. The format of packages that are stored in the repository.
The Cloud KMS resource name of the customer managed encryption key that's
used to encrypt the contents of the Repository. Has the form:
projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key
.
This value may not be changed after the Repository has been created.
Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.
Maven repository config contains repository level configuration for the repositories of maven type.
Optional. The mode of the repository.
The name of the repository, for example:
projects/p1/locations/us-central1/repositories/repo1
. For each location
in a project, repository names must be unique.
Output only. The repository endpoint, for example:
us-docker.pkg.dev/my-proj/my-repo
.
Configuration specific for a Remote Repository.
Output only. The size, in bytes, of all artifact storage in this repository. Repositories that are generally available or in public preview use this to calculate storage costs.
Configuration specific for a Virtual Repository.
Optional. Config and state for vulnerability scanning of resources within this Repository.