Class: Grafeas::V1::SourceContext

Inherits:
Object
  • Object
show all
Extended by:
Google::Protobuf::MessageExts::ClassMethods
Includes:
Google::Protobuf::MessageExts
Defined in:
proto_docs/grafeas/v1/provenance.rb

Overview

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.

Defined Under Namespace

Classes: LabelsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#cloud_repo::Grafeas::V1::CloudRepoSourceContext

Returns A SourceContext referring to a revision in a Google Cloud Source Repo.

Returns:



202
203
204
205
206
207
208
209
210
211
212
213
214
# File 'proto_docs/grafeas/v1/provenance.rb', line 202

class SourceContext
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#gerrit::Grafeas::V1::GerritSourceContext

Returns A SourceContext referring to a Gerrit project.

Returns:



202
203
204
205
206
207
208
209
210
211
212
213
214
# File 'proto_docs/grafeas/v1/provenance.rb', line 202

class SourceContext
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#git::Grafeas::V1::GitSourceContext

Returns A SourceContext referring to any third party Git repo (e.g., GitHub).

Returns:



202
203
204
205
206
207
208
209
210
211
212
213
214
# File 'proto_docs/grafeas/v1/provenance.rb', line 202

class SourceContext
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#labels::Google::Protobuf::Map{::String => ::String}

Returns Labels with user defined metadata.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Labels with user defined metadata.



202
203
204
205
206
207
208
209
210
211
212
213
214
# File 'proto_docs/grafeas/v1/provenance.rb', line 202

class SourceContext
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end