class Google::Apis::CloudtraceV2::StackFrame

Represents a single stack frame in a stack trace.

Attributes

column_number[RW]

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` @return [Fixnum]

file_name[RW]

Represents a string that might be shortened to a specified length. Corresponds to the JSON property `fileName` @return [Google::Apis::CloudtraceV2::TruncatableString]

function_name[RW]

Represents a string that might be shortened to a specified length. Corresponds to the JSON property `functionName` @return [Google::Apis::CloudtraceV2::TruncatableString]

line_number[RW]

The line number in `file_name` where the function call appears. Corresponds to the JSON property `lineNumber` @return [Fixnum]

load_module[RW]

Binary module. Corresponds to the JSON property `loadModule` @return [Google::Apis::CloudtraceV2::Module]

original_function_name[RW]

Represents a string that might be shortened to a specified length. Corresponds to the JSON property `originalFunctionName` @return [Google::Apis::CloudtraceV2::TruncatableString]

source_version[RW]

Represents a string that might be shortened to a specified length. Corresponds to the JSON property `sourceVersion` @return [Google::Apis::CloudtraceV2::TruncatableString]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudtrace_v2/classes.rb, line 450
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