Show / Hide Table of Contents

Class ReportedErrorEvent

An error event which is reported to the Error Reporting system.

Inheritance
object
ReportedErrorEvent
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Clouderrorreporting.v1beta1.Data
Assembly: Google.Apis.Clouderrorreporting.v1beta1.dll
Syntax
public class ReportedErrorEvent : IDirectResponseSchema

Properties

Context

Optional. A description of the context in which the error occurred.

Declaration
[JsonProperty("context")]
public virtual ErrorContext Context { get; set; }
Property Value
Type Description
ErrorContext

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

EventTime

object representation of EventTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use EventTimeDateTimeOffset instead.")]
public virtual object EventTime { get; set; }
Property Value
Type Description
object

EventTimeDateTimeOffset

DateTimeOffset representation of EventTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? EventTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

EventTimeRaw

Optional. Time when the event occurred. If not provided, the time when the event was received by the Error Reporting system is used. If provided, the time must not exceed the logs retention period in the past, or be more than 24 hours in the future. If an invalid time is provided, then an error is returned.

Declaration
[JsonProperty("eventTime")]
public virtual string EventTimeRaw { get; set; }
Property Value
Type Description
string

Message

Required. The error message. If no context.reportLocation is provided, the message must contain a header (typically consisting of the exception type name and an error message) and an exception stack trace in one of the supported programming languages and formats. Supported languages are Java, Python, JavaScript, Ruby, C#, PHP, and Go. Supported stack trace formats are: * Java: Must be the return value of Throwable.printStackTrace().

  • Python: Must be the return value of traceback.format_exc(). * JavaScript: Must be the value of error.stack as returned by V8. * Ruby: Must contain frames returned by Exception.backtrace. * C#: Must be the return value of Exception.ToString(). * PHP: Must be prefixed with "PHP (Notice|Parse error|Fatal error|Warning): " and contain the result of (string)$exception. * Go: Must be the return value of debug.Stack().
Declaration
[JsonProperty("message")]
public virtual string Message { get; set; }
Property Value
Type Description
string

ServiceContext

Required. The service context in which this error has occurred.

Declaration
[JsonProperty("serviceContext")]
public virtual ServiceContext ServiceContext { get; set; }
Property Value
Type Description
ServiceContext

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX