Grafeas V1 API - Class Grafeas::V1::GitSourceContext (v1.1.1)

Reference documentation and code samples for the Grafeas V1 API class Grafeas::V1::GitSourceContext.

A GitSourceContext denotes a particular revision in a third party Git repository (e.g., GitHub).

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#revision_id

def revision_id() -> ::String
Returns
  • (::String) — Git commit hash.

#revision_id=

def revision_id=(value) -> ::String
Parameter
  • value (::String) — Git commit hash.
Returns
  • (::String) — Git commit hash.

#url

def url() -> ::String
Returns
  • (::String) — Git repository URL.

#url=

def url=(value) -> ::String
Parameter
  • value (::String) — Git repository URL.
Returns
  • (::String) — Git repository URL.