Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoErrorDetail
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoErrorDetail
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1alpha/classes.rb,
lib/google/apis/integrations_v1alpha/representations.rb,
lib/google/apis/integrations_v1alpha/representations.rb
Overview
An error, warning, or information message associated with a workflow.
Instance Attribute Summary collapse
-
#error_code ⇒ Google::Apis::IntegrationsV1alpha::CrmlogErrorCode
Registered ids for errors, as "oneof" enums.
-
#error_message ⇒ String
The full text of the error message, including any parameters that were thrown along with the exception.
-
#severity ⇒ String
The severity of the error: ERROR|WARN|INFO.
-
#task_number ⇒ Fixnum
The task try-number, in which, the error occurred.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoErrorDetail
constructor
A new instance of EnterpriseCrmEventbusProtoErrorDetail.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoErrorDetail
Returns a new instance of EnterpriseCrmEventbusProtoErrorDetail.
790 791 792 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 790 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error_code ⇒ Google::Apis::IntegrationsV1alpha::CrmlogErrorCode
Registered ids for errors, as "oneof" enums. Each task or logical grouping of
tasks may share the same enum.
Corresponds to the JSON property errorCode
771 772 773 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 771 def error_code @error_code end |
#error_message ⇒ String
The full text of the error message, including any parameters that were thrown
along with the exception.
Corresponds to the JSON property errorMessage
777 778 779 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 777 def @error_message end |
#severity ⇒ String
The severity of the error: ERROR|WARN|INFO.
Corresponds to the JSON property severity
782 783 784 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 782 def severity @severity end |
#task_number ⇒ Fixnum
The task try-number, in which, the error occurred. If zero, the error happened
at the event level.
Corresponds to the JSON property taskNumber
788 789 790 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 788 def task_number @task_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
795 796 797 798 799 800 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 795 def update!(**args) @error_code = args[:error_code] if args.key?(:error_code) @error_message = args[:error_message] if args.key?(:error_message) @severity = args[:severity] if args.key?(:severity) @task_number = args[:task_number] if args.key?(:task_number) end |