Cloud Debugger V2 API - Class Google::Devtools::Source::V1::GerritSourceContext (v0.5.0)

Reference documentation and code samples for the Cloud Debugger V2 API class Google::Devtools::Source::V1::GerritSourceContext.

A SourceContext referring to a Gerrit project.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#alias_context

def alias_context() -> ::Google::Devtools::Source::V1::AliasContext
Returns

#alias_context=

def alias_context=(value) -> ::Google::Devtools::Source::V1::AliasContext
Parameter
Returns

#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.).

#gerrit_project

def gerrit_project() -> ::String
Returns
  • (::String) — The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name. The "repo name" is hostURI/project.

#gerrit_project=

def gerrit_project=(value) -> ::String
Parameter
  • value (::String) — The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name. The "repo name" is hostURI/project.
Returns
  • (::String) — The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name. The "repo name" is hostURI/project.

#host_uri

def host_uri() -> ::String
Returns
  • (::String) — The URI of a running Gerrit instance.

#host_uri=

def host_uri=(value) -> ::String
Parameter
  • value (::String) — The URI of a running Gerrit instance.
Returns
  • (::String) — The URI of a running Gerrit instance.

#revision_id

def revision_id() -> ::String
Returns
  • (::String) — A revision (commit) ID.

#revision_id=

def revision_id=(value) -> ::String
Parameter
  • value (::String) — A revision (commit) ID.
Returns
  • (::String) — A revision (commit) ID.