Reference documentation and code samples for the Google Cloud Private Catalog V1beta1 Client class GitSource.
Defines how to access a Git Source.
Generated from protobuf message google.cloud.privatecatalog.v1beta1.GitSource
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ repo
string
Location of the Git repo to build.
↳ dir
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.
↳ commit
string
The revision commit to use.
↳ branch
string
The revision branch to use.
↳ tag
string
The revision tag to use.
getRepo
Location of the Git repo to build.
string
setRepo
Location of the Git repo to build.
var
string
$this
getDir
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.
string
setDir
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.
var
string
$this
getCommit
The revision commit to use.
string
hasCommit
setCommit
The revision commit to use.
var
string
$this
getBranch
The revision branch to use.
string
hasBranch
setBranch
The revision branch to use.
var
string
$this
getTag
The revision tag to use.
string
hasTag
setTag
The revision tag to use.
var
string
$this
getRef
string