Class: Google::Devtools::Source::V1::AliasContext

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/debugger/v2/doc/google/devtools/source/v1/source_context.rb

Overview

An alias to a repo revision.

Defined Under Namespace

Modules: Kind

Instance Attribute Summary collapse

Instance Attribute Details

#kindGoogle::Devtools::Source::V1::AliasContext::Kind

Returns The alias kind.

Returns:



52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# File 'lib/google/cloud/debugger/v2/doc/google/devtools/source/v1/source_context.rb', line 52

class AliasContext
  # The type of an Alias.
  module Kind
    # Do not use.
    ANY = 0

    # Git tag
    FIXED = 1

    # Git branch
    MOVABLE = 2

    # OTHER is used to specify non-standard aliases, those not of the kinds
    # above. For example, if a Git repo has a ref named "refs/foo/bar", it
    # is considered to be of kind OTHER.
    OTHER = 4
  end
end

#nameString

Returns The alias name.

Returns:

  • (String)

    The alias name.



52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# File 'lib/google/cloud/debugger/v2/doc/google/devtools/source/v1/source_context.rb', line 52

class AliasContext
  # The type of an Alias.
  module Kind
    # Do not use.
    ANY = 0

    # Git tag
    FIXED = 1

    # Git branch
    MOVABLE = 2

    # OTHER is used to specify non-standard aliases, those not of the kinds
    # above. For example, if a Git repo has a ref named "refs/foo/bar", it
    # is considered to be of kind OTHER.
    OTHER = 4
  end
end