TriggerSourceToBuild

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

Constructors

Link copied to clipboard
constructor(bitbucketServerConfig: String? = null, githubEnterpriseConfig: String? = null, ref: String, repoType: String, repository: String? = null, uri: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.

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

The qualified resource name of the Repo API repository. Either uri or repository can be specified and is 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, BITBUCKET_SERVER.

Link copied to clipboard
val uri: String? = null

The URI of the repo.