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 ⇒ Fixnum
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 ⇒ Fixnum
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
217 218 219 |
# File 'generated/google/apis/tracing_v1/classes.rb', line 217 def initialize(**args) update!(**args) end |
Instance Attribute Details
#column_number ⇒ Fixnum
Column number is important in JavaScript (anonymous functions).
May not be available in some languages.
Corresponds to the JSON property columnNumber
182 183 184 |
# File 'generated/google/apis/tracing_v1/classes.rb', line 182 def column_number @column_number end |
#file_name ⇒ String
The filename of the file containing this frame.
Corresponds to the JSON property fileName
187 188 189 |
# File 'generated/google/apis/tracing_v1/classes.rb', line 187 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
205 206 207 |
# File 'generated/google/apis/tracing_v1/classes.rb', line 205 def function_name @function_name end |
#line_number ⇒ Fixnum
Line number of the frame.
Corresponds to the JSON property lineNumber
210 211 212 |
# File 'generated/google/apis/tracing_v1/classes.rb', line 210 def line_number @line_number end |
#load_module ⇒ Google::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_name ⇒ String
Used when the function name is
mangled. May be
fully-qualified.
Corresponds to the JSON property originalFunctionName
199 200 201 |
# File 'generated/google/apis/tracing_v1/classes.rb', line 199 def original_function_name @original_function_name end |
#source_version ⇒ String
The version of the deployed source code.
Corresponds to the JSON property sourceVersion
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 |