RepoArgs

data class RepoArgs(val mirrorConfig: Output<MirrorConfigArgs>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val pubsubConfigs: Output<Map<String, String>>? = null, val size: Output<String>? = null, val url: Output<String>? = null) : ConvertibleToJava<RepoArgs>

Creates a repo in the given project with the given name. If the named repository already exists, CreateRepo returns ALREADY_EXISTS.

Constructors

Link copied to clipboard
fun RepoArgs(mirrorConfig: Output<MirrorConfigArgs>? = null, name: Output<String>? = null, project: Output<String>? = null, pubsubConfigs: Output<Map<String, String>>? = null, size: Output<String>? = null, url: Output<String>? = null)

Functions

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

Properties

Link copied to clipboard
val mirrorConfig: Output<MirrorConfigArgs>? = null

How this repository mirrors a repository managed by another service. Read-only field.

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

Resource name of the repository, of the form projects//repos/. The repo name may contain slashes. eg, projects/myproject/repos/name/with/slash

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

How this repository publishes a change in the repository through Cloud Pub/Sub. Keyed by the topic names.

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

The disk usage of the repo, in bytes. Read-only field. Size is only returned by GetRepo.

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

URL to clone the repository from Google Cloud Source Repositories. Read-only field.