GitRepoSourceResponse

data class GitRepoSourceResponse(val bitbucketServerConfig: String, val githubEnterpriseConfig: String, val ref: String, val repoType: String, val repository: String, val uri: String)

GitRepoSource describes a repo and ref of a code repository.

Constructors

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

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

The qualified resource name of the Repo API repository Either uri or repository can be specified and is required.

Link copied to clipboard

See RepoType below.

Link copied to clipboard
val uri: String

The URI of the repo. Either uri or repository can be specified and is required.