Class: Google::Devtools::Clouderrorreporting::V1beta1::SourceLocation
- Inherits:
-
Object
- Object
- Google::Devtools::Clouderrorreporting::V1beta1::SourceLocation
- 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
-
#file_path ⇒ String
The source code filename, which can include a truncated relative path, or a full path from a production machine.
-
#function_name ⇒ String
Human-readable name of a function or method.
-
#line_number ⇒ Integer
1-based.
Instance Attribute Details
#file_path ⇒ String
Returns The source code filename, which can include a truncated relative path, or a full path from a production machine.
181 |
# File 'lib/google/cloud/error_reporting/v1beta1/doc/google/devtools/clouderrorreporting/v1beta1/common.rb', line 181 class SourceLocation; end |
#function_name ⇒ String
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.
181 |
# File 'lib/google/cloud/error_reporting/v1beta1/doc/google/devtools/clouderrorreporting/v1beta1/common.rb', line 181 class SourceLocation; end |
#line_number ⇒ Integer
Returns 1-based. 0 indicates that the line number is unknown.
181 |
# File 'lib/google/cloud/error_reporting/v1beta1/doc/google/devtools/clouderrorreporting/v1beta1/common.rb', line 181 class SourceLocation; end |