RepositoryArgs

data class RepositoryArgs(val description: Output<String>? = null, val dockerConfig: Output<DockerRepositoryConfigArgs>? = null, val format: Output<RepositoryFormat>? = null, val kmsKeyName: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val mavenConfig: Output<MavenRepositoryConfigArgs>? = null, val mode: Output<RepositoryMode>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val remoteRepositoryConfig: Output<RemoteRepositoryConfigArgs>? = null, val repositoryId: Output<String>? = null, val virtualRepositoryConfig: Output<VirtualRepositoryConfigArgs>? = null) : ConvertibleToJava<RepositoryArgs>

Creates a repository. The returned Operation will finish once the repository has been created. Its response will be the created Repository.

Constructors

Link copied to clipboard
constructor(description: Output<String>? = null, dockerConfig: Output<DockerRepositoryConfigArgs>? = null, format: Output<RepositoryFormat>? = null, kmsKeyName: Output<String>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, mavenConfig: Output<MavenRepositoryConfigArgs>? = null, mode: Output<RepositoryMode>? = null, name: Output<String>? = null, project: Output<String>? = null, remoteRepositoryConfig: Output<RemoteRepositoryConfigArgs>? = null, repositoryId: Output<String>? = null, virtualRepositoryConfig: Output<VirtualRepositoryConfigArgs>? = null)

Properties

Link copied to clipboard
val description: Output<String>? = null

The user-provided description of the repository.

Link copied to clipboard

Docker repository config contains repository level configuration for the repositories of docker type.

Link copied to clipboard
val format: Output<RepositoryFormat>? = null

The format of packages that are stored in the repository.

Link copied to clipboard
val kmsKeyName: Output<String>? = null

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.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

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.

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard

Maven repository config contains repository level configuration for the repositories of maven type.

Link copied to clipboard
val mode: Output<RepositoryMode>? = null

The mode of the repository.

Link copied to clipboard
val name: Output<String>? = null

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

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard

Configuration specific for a Remote Repository.

Link copied to clipboard
val repositoryId: Output<String>? = null

The repository id to use for this repository.

Link copied to clipboard

Configuration specific for a Virtual Repository.

Functions

Link copied to clipboard
open override fun toJava(): RepositoryArgs