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.
733 734 735 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 733 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
714 715 716 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 714 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
720 721 722 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 720 def @error_message end |
#severity ⇒ String
The severity of the error: ERROR|WARN|INFO.
Corresponds to the JSON property severity
725 726 727 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 725 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
731 732 733 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 731 def task_number @task_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
738 739 740 741 742 743 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 738 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 |