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. dir 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. revision 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 fetch to fetch the revision from the Git repository; therefore make sure that the string you provide for revision is parsable by the command. For information on string values accepted by git fetch, see https://git-scm.com/docs/gitrevisions#_specifying_revisions. For information on git fetch, see https://git-scm.com/docs/git-fetch. url Location of the Git repo to build. This will be used as a git 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 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
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 fetch to fetch the revision from the Git repository; therefore make sure that the string you provide for revision is parsable by the command. For information on string values accepted by git fetch, see https://git-scm.com/docs/gitrevisions#_specifying_revisions. For information on git 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