Class: Google::Apis::CloudtraceV2::StackFrame
- Inherits:
-
Object
- Object
- Google::Apis::CloudtraceV2::StackFrame
- Defined in:
- generated/google/apis/cloudtrace_v2/classes.rb,
generated/google/apis/cloudtrace_v2/representations.rb,
generated/google/apis/cloudtrace_v2/representations.rb
Overview
Represents a single stack frame in a stack trace.
Instance Attribute Summary collapse
-
#column_number ⇒ Fixnum
The column number where the function call appears, if available.
-
#file_name ⇒ Google::Apis::CloudtraceV2::TruncatableString
Represents a string that might be shortened to a specified length.
-
#function_name ⇒ Google::Apis::CloudtraceV2::TruncatableString
Represents a string that might be shortened to a specified length.
-
#line_number ⇒ Fixnum
The line number in
file_name
where the function call appears. -
#load_module ⇒ Google::Apis::CloudtraceV2::Module
Binary module.
-
#original_function_name ⇒ Google::Apis::CloudtraceV2::TruncatableString
Represents a string that might be shortened to a specified length.
-
#source_version ⇒ Google::Apis::CloudtraceV2::TruncatableString
Represents a string that might be shortened to a specified length.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StackFrame
constructor
A new instance of StackFrame.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ StackFrame
Returns a new instance of StackFrame
479 480 481 |
# File 'generated/google/apis/cloudtrace_v2/classes.rb', line 479 def initialize(**args) update!(**args) end |
Instance Attribute Details
#column_number ⇒ Fixnum
The column number where the function call appears, if available.
This is important in JavaScript because of its anonymous functions.
Corresponds to the JSON property columnNumber
447 448 449 |
# File 'generated/google/apis/cloudtrace_v2/classes.rb', line 447 def column_number @column_number end |
#file_name ⇒ Google::Apis::CloudtraceV2::TruncatableString
Represents a string that might be shortened to a specified length.
Corresponds to the JSON property fileName
452 453 454 |
# File 'generated/google/apis/cloudtrace_v2/classes.rb', line 452 def file_name @file_name end |
#function_name ⇒ Google::Apis::CloudtraceV2::TruncatableString
Represents a string that might be shortened to a specified length.
Corresponds to the JSON property functionName
457 458 459 |
# File 'generated/google/apis/cloudtrace_v2/classes.rb', line 457 def function_name @function_name end |
#line_number ⇒ Fixnum
The line number in file_name
where the function call appears.
Corresponds to the JSON property lineNumber
462 463 464 |
# File 'generated/google/apis/cloudtrace_v2/classes.rb', line 462 def line_number @line_number end |
#load_module ⇒ Google::Apis::CloudtraceV2::Module
Binary module.
Corresponds to the JSON property loadModule
467 468 469 |
# File 'generated/google/apis/cloudtrace_v2/classes.rb', line 467 def load_module @load_module end |
#original_function_name ⇒ Google::Apis::CloudtraceV2::TruncatableString
Represents a string that might be shortened to a specified length.
Corresponds to the JSON property originalFunctionName
472 473 474 |
# File 'generated/google/apis/cloudtrace_v2/classes.rb', line 472 def original_function_name @original_function_name end |
#source_version ⇒ Google::Apis::CloudtraceV2::TruncatableString
Represents a string that might be shortened to a specified length.
Corresponds to the JSON property sourceVersion
477 478 479 |
# File 'generated/google/apis/cloudtrace_v2/classes.rb', line 477 def source_version @source_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
484 485 486 487 488 489 490 491 492 |
# File 'generated/google/apis/cloudtrace_v2/classes.rb', line 484 def update!(**args) @column_number = args[:column_number] if args.key?(:column_number) @file_name = args[:file_name] if args.key?(:file_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) @original_function_name = args[:original_function_name] if args.key?(:original_function_name) @source_version = args[:source_version] if args.key?(:source_version) end |