Class: Google::Cloud::ErrorReporting::V1beta1::ReportedErrorEvent

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/devtools/clouderrorreporting/v1beta1/report_errors_service.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#context::Google::Cloud::ErrorReporting::V1beta1::ErrorContext

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

Returns:



86
87
88
89
# File 'proto_docs/google/devtools/clouderrorreporting/v1beta1/report_errors_service.rb', line 86

class ReportedErrorEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#event_time::Google::Protobuf::Timestamp

Returns Optional. Time when the event occurred. If not provided, the time when the event was received by the Error Reporting system will be used.

Returns:

  • (::Google::Protobuf::Timestamp)

    Optional. Time when the event occurred. If not provided, the time when the event was received by the Error Reporting system will be used.



86
87
88
89
# File 'proto_docs/google/devtools/clouderrorreporting/v1beta1/report_errors_service.rb', line 86

class ReportedErrorEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#message::String

Returns 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:

Returns:

  • (::String)

    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:



86
87
88
89
# File 'proto_docs/google/devtools/clouderrorreporting/v1beta1/report_errors_service.rb', line 86

class ReportedErrorEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#service_context::Google::Cloud::ErrorReporting::V1beta1::ServiceContext

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

Returns:



86
87
88
89
# File 'proto_docs/google/devtools/clouderrorreporting/v1beta1/report_errors_service.rb', line 86

class ReportedErrorEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end