Grafeas V1 API - Class Grafeas::V1::SourceContext (v0.7.0)

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

A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cloud_repo

def cloud_repo() -> ::Grafeas::V1::CloudRepoSourceContext
Returns

#cloud_repo=

def cloud_repo=(value) -> ::Grafeas::V1::CloudRepoSourceContext
Parameter
Returns

#gerrit

def gerrit() -> ::Grafeas::V1::GerritSourceContext
Returns

#gerrit=

def gerrit=(value) -> ::Grafeas::V1::GerritSourceContext
Parameter
Returns

#git

def git() -> ::Grafeas::V1::GitSourceContext
Returns

#git=

def git=(value) -> ::Grafeas::V1::GitSourceContext
Parameter
Returns

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Labels with user defined metadata.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Labels with user defined metadata.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Labels with user defined metadata.