Class 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.
Implements
Inherited Members
Namespace: Google.Apis.Clouderrorreporting.v1beta1.Data
Assembly: Google.Apis.Clouderrorreporting.v1beta1.dll
Syntax
public class SourceLocation : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
FilePath
The source code filename, which can include a truncated relative path, or a full path from a production machine.
Declaration
[JsonProperty("filePath")]
public virtual string FilePath { get; set; }
Property Value
Type | Description |
---|---|
string |
FunctionName
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.
Declaration
[JsonProperty("functionName")]
public virtual string FunctionName { get; set; }
Property Value
Type | Description |
---|---|
string |
LineNumber
1-based. 0 indicates that the line number is unknown.
Declaration
[JsonProperty("lineNumber")]
public virtual int? LineNumber { get; set; }
Property Value
Type | Description |
---|---|
int? |