TriggerGitFileSourceArgs

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

Constructors

Link copied to clipboard
fun TriggerGitFileSourceArgs(githubEnterpriseConfig: Output<String>? = null, path: Output<String>, repoType: Output<String>, revision: Output<String>? = null, uri: Output<String>? = null)

Functions

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

Properties

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>

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

Link copied to clipboard
val repoType: Output<String>

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 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 (optional). If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.