Class: Google::Apis::TracingV1::StackFrame
- Inherits:
-
Object
- Object
- Google::Apis::TracingV1::StackFrame
- 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
-
#column_number ⇒ String
Column number is important in JavaScript (anonymous functions).
-
#file_name ⇒ String
The filename of the file containing this frame.
-
#function_name ⇒ String
The fully-qualified name that uniquely identifies this function or method.
-
#line_number ⇒ String
Line number of the frame.
-
#load_module ⇒ Google::Apis::TracingV1::Module
Binary module.
-
#original_function_name ⇒ String
Used when the function name is mangled.
-
#source_version ⇒ String
The version of the deployed source code.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StackFrame
constructor
A new instance of StackFrame.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ StackFrame
Returns a new instance of StackFrame
589 590 591 |
# File 'generated/google/apis/tracing_v1/classes.rb', line 589 def initialize(**args) update!(**args) end |
Instance Attribute Details
#column_number ⇒ String
Column number is important in JavaScript (anonymous functions).
May not be available in some languages.
Corresponds to the JSON property columnNumber
587 588 589 |
# File 'generated/google/apis/tracing_v1/classes.rb', line 587 def column_number @column_number end |
#file_name ⇒ String
The filename of the file containing this frame.
Corresponds to the JSON property fileName
553 554 555 |
# File 'generated/google/apis/tracing_v1/classes.rb', line 553 def file_name @file_name end |
#function_name ⇒ String
The fully-qualified name that uniquely identifies this function or
method.
Corresponds to the JSON property functionName
571 572 573 |
# File 'generated/google/apis/tracing_v1/classes.rb', line 571 def function_name @function_name end |
#line_number ⇒ String
Line number of the frame.
Corresponds to the JSON property lineNumber
576 577 578 |
# File 'generated/google/apis/tracing_v1/classes.rb', line 576 def line_number @line_number end |
#load_module ⇒ Google::Apis::TracingV1::Module
Binary module.
Corresponds to the JSON property loadModule
581 582 583 |
# File 'generated/google/apis/tracing_v1/classes.rb', line 581 def load_module @load_module end |
#original_function_name ⇒ String
Used when the function name is
mangled. May be
fully-qualified.
Corresponds to the JSON property originalFunctionName
565 566 567 |
# File 'generated/google/apis/tracing_v1/classes.rb', line 565 def original_function_name @original_function_name end |
#source_version ⇒ String
The version of the deployed source code.
Corresponds to the JSON property sourceVersion
558 559 560 |
# File 'generated/google/apis/tracing_v1/classes.rb', line 558 def source_version @source_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
594 595 596 597 598 599 600 601 602 |
# File 'generated/google/apis/tracing_v1/classes.rb', line 594 def update!(**args) @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) @column_number = args[:column_number] if args.key?(:column_number) end |