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

Represents a location in the source code.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #column

    def column() -> ::Integer

**Returns**

- (::Integer) --- Column within a line. The first column in a line as the value `1`. Agents that do not support setting breakpoints on specific columns ignore this field.

### #column=

    def column=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Column within a line. The first column in a line as the value `1`. Agents that do not support setting breakpoints on specific columns ignore this field.
**Returns**

- (::Integer) --- Column within a line. The first column in a line as the value `1`. Agents that do not support setting breakpoints on specific columns ignore this field.

### #line

    def line() -> ::Integer

**Returns**

- (::Integer) --- Line inside the file. The first line in the file has the value `1`.

### #line=

    def line=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Line inside the file. The first line in the file has the value `1`.
**Returns**

- (::Integer) --- Line inside the file. The first line in the file has the value `1`.

### #path

    def path() -> ::String

**Returns**

- (::String) --- Path to the source file within the source context of the target binary.

### #path=

    def path=(value) -> ::String

**Parameter**

- **value** (::String) --- Path to the source file within the source context of the target binary.
**Returns**

- (::String) --- Path to the source file within the source context of the target binary.