class Google::Apis::ClouddebuggerV2::SourceLocation

Represents a location in the source code.

Attributes

line[RW]

Line inside the file. The first line in the file has the value `1`. Corresponds to the JSON property `line` @return [Fixnum]

path[RW]

Path to the source file within the source context of the target binary. Corresponds to the JSON property `path` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/clouddebugger_v2/classes.rb, line 734
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/clouddebugger_v2/classes.rb, line 739
def update!(**args)
  @path = args[:path] if args.key?(:path)
  @line = args[:line] if args.key?(:line)
end