Grafeas V1 API - Class Grafeas::V1::GerritSourceContext (v0.12.1)

Reference documentation and code samples for the Grafeas V1 API class Grafeas::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 
 () 
  
 - 
>  
 :: 
 Grafeas 
 :: 
 V1 
 :: 
 AliasContext 
 
Returns

#alias_context=

  def 
  
 alias_context= 
 ( 
 value 
 ) 
  
 - 
>  
 :: 
 Grafeas 
 :: 
 V1 
 :: 
 AliasContext 
 
Parameter
Returns

#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 the 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 the 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 the 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.
Create a Mobile Website
View Site in Mobile | Classic
Share by: