MirrorConfigResponse

data class MirrorConfigResponse(val deployKeyId: String, val url: String, val webhookId: String)

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

Constructors

Link copied to clipboard
fun MirrorConfigResponse(deployKeyId: String, url: String, webhookId: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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: String

URL of the main repository at the other hosting service.

Link copied to clipboard

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.