GitRepoSourceArgs

data class GitRepoSourceArgs(val bitbucketServerConfig: Output<String>? = null, val githubEnterpriseConfig: Output<String>? = null, val ref: Output<String>? = null, val repoType: Output<GitRepoSourceRepoType>? = null, val repository: Output<String>? = null, val uri: Output<String>? = null) : ConvertibleToJava<GitRepoSourceArgs>

GitRepoSource describes a repo and ref of a code repository.

Constructors

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

Properties

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

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

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

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

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

Link copied to clipboard
val repository: Output<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
val repoType: Output<GitRepoSourceRepoType>? = null

See RepoType below.

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

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

Functions

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