# Cloud Debugger V2 API - Class Google::Devtools::Source::V1::AliasContext (v0.6.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.6.0 (latest)](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/latest/Google-Devtools-Source-V1-AliasContext)
- [0.5.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/0.5.0/Google-Devtools-Source-V1-AliasContext)
- [0.4.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/0.4.0/Google-Devtools-Source-V1-AliasContext)
- [0.3.5](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/0.3.5/Google-Devtools-Source-V1-AliasContext)
Reference documentation and code samples for the Cloud Debugger V2 API class Google::Devtools::Source::V1::AliasContext.

An alias to a repo revision.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #kind

    def kind() -> ::Google::Devtools::Source::V1::AliasContext::Kind

**Returns**

- ([::Google::Devtools::Source::V1::AliasContext::Kind](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/latest/Google-Devtools-Source-V1-AliasContext-Kind)) --- The alias kind.

### #kind=

    def kind=(value) -> ::Google::Devtools::Source::V1::AliasContext::Kind

**Parameter**

- **value** ([::Google::Devtools::Source::V1::AliasContext::Kind](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/latest/Google-Devtools-Source-V1-AliasContext-Kind)) --- The alias kind.
**Returns**

- ([::Google::Devtools::Source::V1::AliasContext::Kind](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/latest/Google-Devtools-Source-V1-AliasContext-Kind)) --- The alias kind.

### #name

    def name() -> ::String

**Returns**

- (::String) --- The alias name.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- The alias name.
**Returns**

- (::String) --- The alias name.