RepositoryArgs

data class RepositoryArgs(val description: Output<String>? = null, val format: Output<RepositoryFormat>? = null, val kmsKeyName: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val repositoryId: Output<String>? = 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
fun RepositoryArgs(description: Output<String>? = null, format: Output<RepositoryFormat>? = null, kmsKeyName: Output<String>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, name: Output<String>? = null, project: Output<String>? = null, repositoryId: Output<String>? = null)

Functions

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

Properties

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

The user-provided description of the repository.

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
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
val repositoryId: Output<String>? = null

The repository id to use for this repository.