GitSourceResponse class
Location of the source in any accessible Git repository.
Constructors
-
GitSourceResponse({required Input<
String> dir, required Input<String> revision, required Input<String> url}) -
Creates a new GitSourceResponse.
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.revisionThe revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. Cloud Build usesgit fetchto fetch the revision from the Git repository; therefore make sure that the string you provide forrevisionis parsable by the command. For information on string values accepted bygit fetch, see https://git-scm.com/docs/gitrevisions#_specifying_revisions. For information ongit fetch, see https://git-scm.com/docs/git-fetch.urlLocation of the Git repo to build. This will be used as agit remote, see https://git-scm.com/docs/git-remote.const -
GitSourceResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
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
-
revision
→ Input<
String> -
The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. Cloud Build uses
git fetchto fetch the revision from the Git repository; therefore make sure that the string you provide forrevisionis parsable by the command. For information on string values accepted bygit fetch, see https://git-scm.com/docs/gitrevisions#_specifying_revisions. For information ongit fetch, see https://git-scm.com/docs/git-fetch.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
url
→ Input<
String> -
Location of the Git repo to build. This will be used as a
git remote, see https://git-scm.com/docs/git-remote.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