TriggerBuildSourceRepoSourceArgs

data class TriggerBuildSourceRepoSourceArgs(val branchName: Output<String>? = null, val commitSha: Output<String>? = null, val dir: Output<String>? = null, val invertRegex: Output<Boolean>? = null, val projectId: Output<String>? = null, val repoName: Output<String>, val substitutions: Output<Map<String, String>>? = null, val tagName: Output<String>? = null) : ConvertibleToJava<TriggerBuildSourceRepoSourceArgs>

Constructors

Link copied to clipboard
constructor(branchName: Output<String>? = null, commitSha: Output<String>? = null, dir: Output<String>? = null, invertRegex: Output<Boolean>? = null, projectId: Output<String>? = null, repoName: Output<String>, substitutions: Output<Map<String, String>>? = null, tagName: Output<String>? = null)

Properties

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

Regex matching branches to build. Exactly one a of branch name, tag, or commit SHA must be provided. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

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

Explicit commit SHA to build. Exactly one a of branch name, tag, or commit SHA must be provided.

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

Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's dir is specified and is an absolute path, this value is ignored for that step's execution.

Link copied to clipboard
val invertRegex: Output<Boolean>? = null

Only trigger a build if the revision regex does NOT match the revision regex.

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

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

Link copied to clipboard
val repoName: Output<String>

Name of the Cloud Source Repository.

Link copied to clipboard
val substitutions: Output<Map<String, String>>? = null

Substitutions to use in a triggered build. Should only be used with triggers.run

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

Regex matching tags to build. Exactly one a of branch name, tag, or commit SHA must be provided. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

Functions

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