Reference documentation and code samples for the Grafeas V1 Client class GerritSourceContext.
A SourceContext referring to a Gerrit project.
Generated from protobuf message grafeas.v1.GerritSourceContext
Namespace
Grafeas \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ host_uri
string
The URI of a running Gerrit instance.
↳ gerrit_project
string
The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name. The "repo name" is the hostURI/project.
↳ revision_id
string
A revision (commit) ID.
↳ alias_context
getHostUri
The URI of a running Gerrit instance.
string
setHostUri
The URI of a running Gerrit instance.
var
string
$this
getGerritProject
The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name. The "repo name" is the hostURI/project.
string
setGerritProject
The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name. The "repo name" is the hostURI/project.
var
string
$this
getRevisionId
A revision (commit) ID.
string
hasRevisionId
setRevisionId
A revision (commit) ID.
var
string
$this
getAliasContext
An alias, which may be a branch or tag.
hasAliasContext
setAliasContext
An alias, which may be a branch or tag.
$this
getRevision
string