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";
kmsKeyName?: string;
labels?: {
[key: string]: string;
}
;
mavenConfig?: MavenRepositoryConfig;
mode?:
| "MODE_UNSPECIFIED"
| "STANDARD_REPOSITORY"
| "VIRTUAL_REPOSITORY"
| "REMOTE_REPOSITORY"
| "AOSS_REPOSITORY";
name?: string;
remoteRepositoryConfig?: RemoteRepositoryConfig;
readonly satisfiesPzs?: boolean;
readonly sizeBytes?: bigint;
readonly updateTime?: Date;
virtualRepositoryConfig?: VirtualRepositoryConfig;
}

§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, aunspecified repo type will be treated as error. Is used for new repo types that don't have any specific fields. Right now is used by AOSS team when creating repos for customers.

§

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"
[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"
[src]

Optional. The mode of the repository.

§
name?: string
[src]

The name of the repository, for example: projects/p1/locations/us-central1/repositories/repo1.

§
remoteRepositoryConfig?: RemoteRepositoryConfig
[src]

Configuration specific for a Remote Repository.

§
readonly satisfiesPzs?: boolean
[src]

Output only. If set, the repository satisfies physical zone separation.

§
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.