MirrorConfigArgs

data class MirrorConfigArgs(val deployKeyId: Output<String>? = null, val url: Output<String>? = null, val webhookId: Output<String>? = null) : ConvertibleToJava<MirrorConfigArgs>

Configuration to automatically mirror a repository from another hosting service, for example GitHub or Bitbucket.

Constructors

Link copied to clipboard
constructor(deployKeyId: Output<String>? = null, url: Output<String>? = null, webhookId: Output<String>? = null)

Properties

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

ID of the SSH deploy key at the other hosting service. Removing this key from the other service would deauthorize Google Cloud Source Repositories from mirroring.

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

URL of the main repository at the other hosting service.

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

ID of the webhook listening to updates to trigger mirroring. Removing this webhook from the other hosting service will stop Google Cloud Source Repositories from receiving notifications, and thereby disabling mirroring.

Functions

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