TriggerBuildSourceRepoSource class

Constructors

TriggerBuildSourceRepoSource({Input<String?>? branchName, Input<String?>? commitSha, Input<String?>? dir, Input<bool?>? invertRegex, Input<String?>? projectId, required Input<String> repoName, Input<Map<String, String>?>? substitutions, Input<String?>? tagName})
Creates a new TriggerBuildSourceRepoSource. branchName Regex matching branches to build. Exactly one a of branch name, tag, or commit SHA must be provided. commitSha Explicit commit SHA to build. Exactly one a of branch name, tag, or commit SHA must be provided. dir Directory, relative to the source root, in which to run the build. invertRegex Only trigger a build if the revision regex does NOT match the revision regex. projectId ID of the project that owns the Cloud Source Repository. repoName Name of the Cloud Source Repository. substitutions Substitutions to use in a triggered build. Should only be used with triggers.run tagName Regex matching tags to build. Exactly one a of branch name, tag, or commit SHA must be provided.
const
TriggerBuildSourceRepoSource.fromMap(Map<String, dynamic> map)
factory

Properties

branchName → Input<String?>?
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
final
commitSha → Input<String?>?
Explicit commit SHA to build. Exactly one a of branch name, tag, or commit SHA must be provided.
final
dir → Input<String?>?
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.
final
hashCode → int
The hash code for this object.
no setterinherited
invertRegex → Input<bool?>?
Only trigger a build if the revision regex does NOT match the revision regex.
final
projectId → Input<String?>?
ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
final
repoName → Input<String>
Name of the Cloud Source Repository.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
substitutions → Input<Map<String, String>?>?
Substitutions to use in a triggered build. Should only be used with triggers.run
final
tagName → Input<String?>?
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
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited