Class: Google::Apis::IntegrationsV1::CrmlogErrorCode

Inherits:
Object
  • Object
show all
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

Registered ids for errors, as "oneof" enums. Each task or logical grouping of tasks may share the same enum.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CrmlogErrorCode

Returns a new instance of CrmlogErrorCode.



35
36
37
# File 'lib/google/apis/integrations_v1/classes.rb', line 35

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#common_error_codeString

Corresponds to the JSON property commonErrorCode

Returns:

  • (String)


33
34
35
# File 'lib/google/apis/integrations_v1/classes.rb', line 33

def common_error_code
  @common_error_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



40
41
42
# File 'lib/google/apis/integrations_v1/classes.rb', line 40

def update!(**args)
  @common_error_code = args[:common_error_code] if args.key?(:common_error_code)
end