Class: Google::Apis::TracingV1::StackFrame

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/tracing_v1/classes.rb,
generated/google/apis/tracing_v1/representations.rb,
generated/google/apis/tracing_v1/representations.rb

Overview

Represents a single stack frame in a stack trace.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ StackFrame

Returns a new instance of StackFrame



217
218
219
# File 'generated/google/apis/tracing_v1/classes.rb', line 217

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#column_numberFixnum

Column number is important in JavaScript (anonymous functions). May not be available in some languages. Corresponds to the JSON property columnNumber

Returns:

  • (Fixnum)


182
183
184
# File 'generated/google/apis/tracing_v1/classes.rb', line 182

def column_number
  @column_number
end

#file_nameString

The filename of the file containing this frame. Corresponds to the JSON property fileName

Returns:

  • (String)


187
188
189
# File 'generated/google/apis/tracing_v1/classes.rb', line 187

def file_name
  @file_name
end

#function_nameString

The fully-qualified name that uniquely identifies this function or method. Corresponds to the JSON property functionName

Returns:

  • (String)


205
206
207
# File 'generated/google/apis/tracing_v1/classes.rb', line 205

def function_name
  @function_name
end

#line_numberFixnum

Line number of the frame. Corresponds to the JSON property lineNumber

Returns:

  • (Fixnum)


210
211
212
# File 'generated/google/apis/tracing_v1/classes.rb', line 210

def line_number
  @line_number
end

#load_moduleGoogle::Apis::TracingV1::Module

Binary module. Corresponds to the JSON property loadModule



215
216
217
# File 'generated/google/apis/tracing_v1/classes.rb', line 215

def load_module
  @load_module
end

#original_function_nameString

Used when the function name is mangled. May be fully-qualified. Corresponds to the JSON property originalFunctionName

Returns:

  • (String)


199
200
201
# File 'generated/google/apis/tracing_v1/classes.rb', line 199

def original_function_name
  @original_function_name
end

#source_versionString

The version of the deployed source code. Corresponds to the JSON property sourceVersion

Returns:

  • (String)


192
193
194
# File 'generated/google/apis/tracing_v1/classes.rb', line 192

def source_version
  @source_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



222
223
224
225
226
227
228
229
230
# File 'generated/google/apis/tracing_v1/classes.rb', line 222

def update!(**args)
  @column_number = args[:column_number] if args.key?(:column_number)
  @file_name = args[:file_name] if args.key?(:file_name)
  @source_version = args[:source_version] if args.key?(:source_version)
  @original_function_name = args[:original_function_name] if args.key?(:original_function_name)
  @function_name = args[:function_name] if args.key?(:function_name)
  @line_number = args[:line_number] if args.key?(:line_number)
  @load_module = args[:load_module] if args.key?(:load_module)
end