RepoSource class
Location of the source in a Google Cloud Source Repository.
Constructors
-
RepoSource({Input<
String> ? branchName, Input<String> ? commitSha, Input<String> ? dir, Input<bool> ? invertRegex, Input<String> ? project, Input<String> ? repoName, Input<Map< ? substitutions, Input<String, String> >String> ? tagName}) -
Creates a new RepoSource.
branchNameRegex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/SyntaxcommitShaExplicit commit SHA to build.dirDirectory, relative to the source root, in which to run the build. This must be a relative path. If a step'sdiris specified and is an absolute path, this value is ignored for that step's execution.invertRegexOnly trigger a build if the revision regex does NOT match the revision regex.projectID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.repoNameName of the Cloud Source Repository.substitutionsSubstitutions to use in a triggered build. Should only be used with RunBuildTriggertagNameRegex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntaxconst -
RepoSource.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
branchName
→ Input<
String> ? -
Regex matching branches to build. 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.
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
diris 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
-
project
→ 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 RunBuildTrigger
final
-
tagName
→ Input<
String> ? -
Regex matching tags to build. 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