Reference documentation and code samples for the Cloud Debugger V2 API class Google::Devtools::Source::V1::CloudRepoSourceContext.
A CloudRepoSourceContext denotes a particular revision in a cloud repo (a repo hosted by the Google Cloud Platform).
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#alias_context
def alias_context() -> ::Google::Devtools::Source::V1::AliasContext
Returns
- (::Google::Devtools::Source::V1::AliasContext) — An alias, which may be a branch or tag.
#alias_context=
def alias_context=(value) -> ::Google::Devtools::Source::V1::AliasContext
Parameter
- value (::Google::Devtools::Source::V1::AliasContext) — An alias, which may be a branch or tag.
Returns
- (::Google::Devtools::Source::V1::AliasContext) — An alias, which may be a branch or tag.
#alias_name
def alias_name() -> ::String
Returns
- (::String) — The name of an alias (branch, tag, etc.).
#alias_name=
def alias_name=(value) -> ::String
Parameter
- value (::String) — The name of an alias (branch, tag, etc.).
Returns
- (::String) — The name of an alias (branch, tag, etc.).
#repo_id
def repo_id() -> ::Google::Devtools::Source::V1::RepoId
Returns
- (::Google::Devtools::Source::V1::RepoId) — The ID of the repo.
#repo_id=
def repo_id=(value) -> ::Google::Devtools::Source::V1::RepoId
Parameter
- value (::Google::Devtools::Source::V1::RepoId) — The ID of the repo.
Returns
- (::Google::Devtools::Source::V1::RepoId) — The ID of the repo.
#revision_id
def revision_id() -> ::String
Returns
- (::String) — A revision ID.
#revision_id=
def revision_id=(value) -> ::String
Parameter
- value (::String) — A revision ID.
Returns
- (::String) — A revision ID.