Class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoErrorDetail
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoErrorDetail
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_v1/representations.rb
Overview
An error, warning, or information message associated with a workflow.
Instance Attribute Summary collapse
-
#error_code ⇒ Google::Apis::IntegrationsV1::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.
868 869 870 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 868 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error_code ⇒ Google::Apis::IntegrationsV1::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
849 850 851 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 849 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
855 856 857 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 855 def @error_message end |
#severity ⇒ String
The severity of the error: ERROR|WARN|INFO.
Corresponds to the JSON property severity
860 861 862 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 860 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
866 867 868 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 866 def task_number @task_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
873 874 875 876 877 878 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 873 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 |