Reference documentation and code samples for the Grafeas V1 Client class CloudRepoSourceContext.
A CloudRepoSourceContext denotes a particular revision in a Google Cloud Source Repo.
Generated from protobuf message grafeas.v1.CloudRepoSourceContext
Namespace
Grafeas \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ repo_id
↳ revision_id
string
A revision ID.
↳ alias_context
getRepoId
The ID of the repo.
hasRepoId
clearRepoId
setRepoId
The ID of the repo.
$this
getRevisionId
A revision ID.
string
hasRevisionId
setRevisionId
A revision 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