Class: Google::Apis::ServicemanagementV1::FlowErrorDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/servicemanagement_v1/classes.rb,
generated/google/apis/servicemanagement_v1/representations.rb,
generated/google/apis/servicemanagement_v1/representations.rb

Overview

Encapsulation of flow-specific error details for debugging. Used as a details field on an error Status, not intended for external use.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ FlowErrorDetails

Returns a new instance of FlowErrorDetails.



1670
1671
1672
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 1670

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

Instance Attribute Details

#exception_typeString

The type of exception (as a class name). Corresponds to the JSON property exceptionType

Returns:

  • (String)


1663
1664
1665
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 1663

def exception_type
  @exception_type
end

#flow_step_idString

The step that failed. Corresponds to the JSON property flowStepId

Returns:

  • (String)


1668
1669
1670
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 1668

def flow_step_id
  @flow_step_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1675
1676
1677
1678
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 1675

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