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

Repository

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

A Repository for storing artifacts with a specific format.

interface Repository {
cleanupPolicies?: {
[key: string]: CleanupPolicy;
}
;
cleanupPolicyDryRun?: boolean;
readonly createTime?: Date;
description?: string;
disallowUnspecifiedMode?: boolean;
dockerConfig?: DockerRepositoryConfig;
format?:
| "FORMAT_UNSPECIFIED"
| "DOCKER"
| "MAVEN"
| "NPM"
| "APT"
| "YUM"
| "GOOGET"
| "PYTHON"
| "KFP"
| "GO"
| "GENERIC";
kmsKeyName?: string;
labels?: {
[key: string]: string;
}
;
mavenConfig?: MavenRepositoryConfig;
mode?:
| "MODE_UNSPECIFIED"
| "STANDARD_REPOSITORY"
| "VIRTUAL_REPOSITORY"
| "REMOTE_REPOSITORY"
| "AOSS_REPOSITORY"
| "ASSURED_OSS_REPOSITORY";
name?: string;
readonly registryUri?: string;
remoteRepositoryConfig?: RemoteRepositoryConfig;
readonly satisfiesPzi?: boolean;
readonly satisfiesPzs?: boolean;
readonly sizeBytes?: bigint;
readonly updateTime?: Date;
virtualRepositoryConfig?: VirtualRepositoryConfig;
vulnerabilityScanningConfig?: VulnerabilityScanningConfig;
}

§Properties

§
cleanupPolicies?: {
[key: string]: CleanupPolicy;
}
[src]

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.

§
cleanupPolicyDryRun?: boolean
[src]

Optional. If true, the cleanup pipeline is prevented from deleting versions in this repository.

§
readonly createTime?: Date
[src]

Output only. The time when the repository was created.

§
description?: string
[src]

The user-provided description of the repository.

§
disallowUnspecifiedMode?: boolean
[src]

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.

§
format?: "FORMAT_UNSPECIFIED" | "DOCKER" | "MAVEN" | "NPM" | "APT" | "YUM" | "GOOGET" | "PYTHON" | "KFP" | "GO" | "GENERIC"
[src]

Optional. The format of packages that are stored in the repository.

§
kmsKeyName?: string
[src]

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?: {
[key: string]: string;
}
[src]

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.

§
mode?: "MODE_UNSPECIFIED" | "STANDARD_REPOSITORY" | "VIRTUAL_REPOSITORY" | "REMOTE_REPOSITORY" | "AOSS_REPOSITORY" | "ASSURED_OSS_REPOSITORY"
[src]

Optional. The mode of the repository.

§
name?: string
[src]

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.

§
readonly registryUri?: string
[src]

Output only. The repository endpoint, for example: us-docker.pkg.dev/my-proj/my-repo.

§
remoteRepositoryConfig?: RemoteRepositoryConfig
[src]

Configuration specific for a Remote Repository.

§
readonly satisfiesPzi?: boolean
[src]

Output only. Whether or not this repository satisfies PZI.

§
readonly satisfiesPzs?: boolean
[src]

Output only. Whether or not this repository satisfies PZS.

§
readonly sizeBytes?: bigint
[src]

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.

§
readonly updateTime?: Date
[src]

Output only. The time when the repository was last updated.

§
virtualRepositoryConfig?: VirtualRepositoryConfig
[src]

Configuration specific for a Virtual Repository.

§
vulnerabilityScanningConfig?: VulnerabilityScanningConfig
[src]

Optional. Config and state for vulnerability scanning of resources within this Repository.