TriggerSourceToBuild

data class TriggerSourceToBuild(val githubEnterpriseConfig: String? = null, val ref: String, val repoType: String, val uri: String)

Constructors

Link copied to clipboard
fun TriggerSourceToBuild(githubEnterpriseConfig: String? = null, ref: String, repoType: String, uri: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.

Link copied to clipboard
val ref: String

The branch or tag to use. Must start with "refs/" (required).

Link copied to clipboard

The type of the repo, since it may not be explicit from the repo field (e.g from a URL). Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER Possible values are UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, and BITBUCKET_SERVER.

Link copied to clipboard
val uri: String

The URI of the repo (required).