class Google::Apis::ClouderrorreportingV1beta1::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.
Attributes
The source code filename, which can include a truncated relative path, or a full path from a production machine. Corresponds to the JSON property `filePath` @return [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. Corresponds to the JSON property `functionName` @return [String]
1-based. 0 indicates that the line number is unknown. Corresponds to the JSON property `lineNumber` @return [Fixnum]
Public Class Methods
# File lib/google/apis/clouderrorreporting_v1beta1/classes.rb, line 513 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/clouderrorreporting_v1beta1/classes.rb, line 518 def update!(**args) @file_path = args[:file_path] if args.key?(:file_path) @function_name = args[:function_name] if args.key?(:function_name) @line_number = args[:line_number] if args.key?(:line_number) end