Class: Google::Cloud::ErrorReporting::V1beta1::SourceLocation
- Inherits:
-
Object
- Object
- Google::Cloud::ErrorReporting::V1beta1::SourceLocation
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/devtools/clouderrorreporting/v1beta1/common.rb
Overview
Indicates a location in the source code of the service for which errors are
reported. functionName
must be provided by the application when reporting
an error, unless the error report contains a message
with a supported
exception stack trace. All fields are optional for the later case.
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.
201 202 203 204 |
# File 'proto_docs/google/devtools/clouderrorreporting/v1beta1/common.rb', line 201 class SourceLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods 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.
201 202 203 204 |
# File 'proto_docs/google/devtools/clouderrorreporting/v1beta1/common.rb', line 201 class SourceLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#line_number ⇒ ::Integer
Returns 1-based. 0 indicates that the line number is unknown.
201 202 203 204 |
# File 'proto_docs/google/devtools/clouderrorreporting/v1beta1/common.rb', line 201 class SourceLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |