GitFileSourceArgs

data class GitFileSourceArgs(val bitbucketServerConfig: Output<String>? = null, val githubEnterpriseConfig: Output<String>? = null, val path: Output<String>? = null, val repoType: Output<GitFileSourceRepoType>? = null, val repository: Output<String>? = null, val revision: Output<String>? = null, val uri: Output<String>? = null) : ConvertibleToJava<GitFileSourceArgs>

GitFileSource describes a file within a (possibly remote) code repository.

Constructors

Link copied to clipboard
constructor(bitbucketServerConfig: Output<String>? = null, githubEnterpriseConfig: Output<String>? = null, path: Output<String>? = null, repoType: Output<GitFileSourceRepoType>? = null, repository: Output<String>? = null, revision: 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 path: Output<String>? = null

The path of the file, with the repo root as the root of the path.

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

The fully qualified resource name of the Repo API repository. Either uri or repository can be specified. If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.

Link copied to clipboard
val repoType: Output<GitFileSourceRepoType>? = null

See RepoType above.

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

The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the filename (optional). This field respects the same syntax/resolution as described here: https://git-scm.com/docs/gitrevisions If unspecified, the revision from which the trigger invocation originated is assumed to be the revision from which to read the specified path.

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

The URI of the repo. Either uri or repository can be specified. If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.

Functions

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