Reference documentation and code samples for the Cloud Error Reporting V1beta1 API class Google::Cloud::ErrorReporting::V1beta1::SourceLocation.
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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#file_path
def file_path() -> ::String
- (::String) — The source code filename, which can include a truncated relative path, or a full path from a production machine.
#file_path=
def file_path=(value) -> ::String
- value (::String) — The source code filename, which can include a truncated relative path, or a full path from a production machine.
- (::String) — The source code filename, which can include a truncated relative path, or a full path from a production machine.
#function_name
def function_name() -> ::String
-
(::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.
#function_name=
def function_name=(value) -> ::String
-
value (::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.
-
(::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.
#line_number
def line_number() -> ::Integer
- (::Integer) — 1-based. 0 indicates that the line number is unknown.
#line_number=
def line_number=(value) -> ::Integer
- value (::Integer) — 1-based. 0 indicates that the line number is unknown.
- (::Integer) — 1-based. 0 indicates that the line number is unknown.