Class: Google::Devtools::Clouderrorreporting::V1beta1::SourceLocation

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/error_reporting/v1beta1/doc/google/devtools/clouderrorreporting/v1beta1/common.rb

Overview

Indicates a location in the source code of the service for which errors are reported. This data should be provided by the application when reporting an error, unless the error report has been generated automatically from Google App Engine logs. All fields are optional.

Instance Attribute Summary collapse

Instance Attribute Details

#file_pathString

Returns The source code filename, which can include a truncated relative path, or a full path from a production machine.

Returns:

  • (String)

    The source code filename, which can include a truncated relative path, or a full path from a production machine.



154
# File 'lib/google/cloud/error_reporting/v1beta1/doc/google/devtools/clouderrorreporting/v1beta1/common.rb', line 154

class SourceLocation; end

#function_nameString

Returns Human-readable name of a function or method. The value can include optional context like the class or package name. For example, my.package.MyClass.method in case of Java.

Returns:

  • (String)

    Human-readable name of a function or method. The value can include optional context like the class or package name. For example, my.package.MyClass.method in case of Java.



154
# File 'lib/google/cloud/error_reporting/v1beta1/doc/google/devtools/clouderrorreporting/v1beta1/common.rb', line 154

class SourceLocation; end

#line_numberInteger

Returns 1-based. 0 indicates that the line number is unknown.

Returns:

  • (Integer)

    1-based. 0 indicates that the line number is unknown.



154
# File 'lib/google/cloud/error_reporting/v1beta1/doc/google/devtools/clouderrorreporting/v1beta1/common.rb', line 154

class SourceLocation; end