Class: Grafeas::V1::AliasContext

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

Overview

An alias to a repo revision.

Defined Under Namespace

Modules: Kind

Instance Attribute Summary collapse

Instance Attribute Details

#kind::Grafeas::V1::AliasContext::Kind

Returns The alias kind.

Returns:



223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
# File 'proto_docs/grafeas/v1/provenance.rb', line 223

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

  # The type of an alias.
  module Kind
    # Unknown.
    KIND_UNSPECIFIED = 0

    # Git tag.
    FIXED = 1

    # Git branch.
    MOVABLE = 2

    # Used to specify non-standard aliases. For example, if a Git repo has a
    # ref named "refs/foo/bar".
    OTHER = 4
  end
end

#name::String

Returns The alias name.

Returns:

  • (::String)

    The alias name.



223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
# File 'proto_docs/grafeas/v1/provenance.rb', line 223

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

  # The type of an alias.
  module Kind
    # Unknown.
    KIND_UNSPECIFIED = 0

    # Git tag.
    FIXED = 1

    # Git branch.
    MOVABLE = 2

    # Used to specify non-standard aliases. For example, if a Git repo has a
    # ref named "refs/foo/bar".
    OTHER = 4
  end
end