# Cloud Debugger V2 API - Class Google::Devtools::Source::V1::GitSourceContext (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-GitSourceContext)
- [0.5.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/0.5.0/Google-Devtools-Source-V1-GitSourceContext)
- [0.4.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/0.4.0/Google-Devtools-Source-V1-GitSourceContext)
- [0.3.5](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/0.3.5/Google-Devtools-Source-V1-GitSourceContext)
Reference documentation and code samples for the Cloud Debugger V2 API class Google::Devtools::Source::V1::GitSourceContext.

A GitSourceContext denotes a particular revision in a third party Git
repository (e.g. GitHub).

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #revision_id

    def revision_id() -> ::String

**Returns**

- (::String) --- Git commit hash. required.

### #revision_id=

    def revision_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Git commit hash. required.
**Returns**

- (::String) --- Git commit hash. required.

### #url

    def url() -> ::String

**Returns**

- (::String) --- Git repository URL.

### #url=

    def url=(value) -> ::String

**Parameter**

- **value** (::String) --- Git repository URL.
**Returns**

- (::String) --- Git repository URL.